Commit 898299d2 authored by Jiahao Zhang's avatar Jiahao Zhang Committed by JiangShui
Browse files

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: default avatarJiahao Zhang <zhangjiahao14@huawei.com>
parent e7f7d85f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment