diff options
author | Shradha Gupta <shradhagupta@linux.microsoft.com> | 2024-10-08 10:06:15 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-10-09 15:42:04 +0300 |
commit | 6607c17c6c5e029da03a90085db22daf518232bf (patch) | |
tree | bea9086c2f85a1634f6c2d1de5d47c31e25e3037 /Documentation | |
parent | 1ffcc8d41306fd2e5f140b276820714a26a11cc4 (diff) | |
download | linux-6607c17c6c5e029da03a90085db22daf518232bf.tar.xz |
net: mana: Enable debugfs files for MANA device
Implement debugfs in MANA driver to be able to view RX,TX,EQ queue
specific attributes and dump their gdma queues.
These dumps can be used by other userspace utilities to improve
debuggability and troubleshooting
Following files are added in debugfs:
/sys/kernel/debug/mana/
|-------------- 1
|--------------- EQs
| |------- eq0
| | |---head
| | |---tail
| | |---eq_dump
| |------- eq1
| .
| .
|
|--------------- adapter-MTU
|--------------- vport0
|------- RX-0
| |---cq_budget
| |---cq_dump
| |---cq_head
| |---cq_tail
| |---rq_head
| |---rq_nbuf
| |---rq_tail
| |---rxq_dump
|------- RX-1
.
.
|------- TX-0
| |---cq_budget
| |---cq_dump
| |---cq_head
| |---cq_tail
| |---sq_head
| |---sq_pend_skb_qlen
| |---sq_tail
| |---txq_dump
|------- TX-1
.
.
Signed-off-by: Shradha Gupta <shradhagupta@linux.microsoft.com>
Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions