hns3 udma: add dfx ability for dca
driver inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8LNL9 CVE: NA ------------------------------------------------------ This patch supports the function of querying the current DCA memory usage status through debugfs. After the DCA function is enabled, the UDMA driver creates a subdirectory named xxx PID for each DCA process in debug directory. Each xxx PID directory contains the mstats and tp files. The tp file records the memory usage of the SQ, SGE, and RQ corresponding to all TPs in the process. The mstats file records the memory usage of the DCA memory pool. Signed-off-by:Jiahao Zhang <zhangjiahao14@huawei.com>
Loading
Please sign in to comment