diff options
author | Prakash Brahmajyosyula <bprakash@marvell.com> | 2019-11-14 10:56:18 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-11-14 18:09:15 -0800 |
commit | 02e202c3d15e1f6363ab3df5685ed7b2630e77a4 (patch) | |
tree | 1290c181a47eddd069bdc42d42590d0e79fc96b3 /drivers/bus/arm-cci.c | |
parent | 8756828a81485f7b28b588adbf0bac9bf6fc6651 (diff) | |
download | linux-02e202c3d15e1f6363ab3df5685ed7b2630e77a4.tar.bz2 |
octeontx2-af: Add NIX RQ, SQ and CQ contexts to debugfs
To aid in debugging NIX block related issues, added support to dump
NIX block LF's RQ, SQ and CQ hardware contexts in debugfs. User can
check which contexts are enabled currently and dump it's current HW
context.
Four new files 'qsize', 'rq_ctx', 'sq_ctx' and 'cq_ctx' are added to the
debugfs at 'sys/kernel/debug/octeontx2/nix/'
'echo <nixlf index> > qsize' will display current enabled CQ/SQ/RQs.
'echo <nixlf> [rq number/all] > rq_ctx',
'echo <nixlf> [sq number/all] > sq_ctx' &
'echo <nixlf> [cq number/all] > cq_ctx' will dump RQ/SQ/CQ's current
hardware context.
Signed-off-by: Prakash Brahmajyosyula <bprakash@marvell.com>
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/bus/arm-cci.c')
0 files changed, 0 insertions, 0 deletions