Unverified Commit fbc8debb authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!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: default avatarJiahao Zhang <zhangjiahao14@huawei.com>
 
Link:https://gitee.com/openeuler/kernel/pulls/3198

 

Reviewed-by: default avatarChunzhi Hu <huchunzhi@huawei.com>
Signed-off-by: default avatarJialin Zhang <zhangjialin11@huawei.com>
parents 7fd0f735 898299d2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment