!3198 udma: add dfx ability of dca for hns3
Merge Pull Request from: @zhaoweibo3 driver inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8LNL9 CVE: NA [Content] 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> Link:https://gitee.com/openeuler/kernel/pulls/3198 Reviewed-by:
Chunzhi Hu <huchunzhi@huawei.com> Signed-off-by:
Jialin Zhang <zhangjialin11@huawei.com>
Loading
Please sign in to comment