summaryrefslogtreecommitdiffstats
path: root/lib/bch.c
diff options
context:
space:
mode:
authorChristina Jacob <cjacob@marvell.com>2019-11-14 10:56:17 +0530
committerDavid S. Miller <davem@davemloft.net>2019-11-14 18:09:15 -0800
commit8756828a81485f7b28b588adbf0bac9bf6fc6651 (patch)
treeb4ce76d49c815e05374a93f4f18736b3b103b581 /lib/bch.c
parent23205e6d06d42a8e1c73e4a865b4d0a791814f22 (diff)
downloadlinux-8756828a81485f7b28b588adbf0bac9bf6fc6651.tar.bz2
octeontx2-af: Add NPA aura and pool contexts to debugfs
To aid in debugging NPA related issues, added support to dump NPA (pool allocator) block LF's aura and pool hardware contexts in debugfs. User can check which contexts are enabled currently and dump it's current HW context. Three new files 'qsize', 'aura_ctx', 'pool_ctx' are added to the debugfs at 'sys/kernel/debug/octeontx2/npa/' 'echo <npalf index> > qsize' will display current enabled Aura/Pools. 'echo <npalf> [aura number/all] > aura_ctx' & 'echo <npalf> [aura number/all] > pool_ctx' will dump Aura/Pool context info. Signed-off-by: Christina Jacob <cjacob@marvell.com> 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 'lib/bch.c')
0 files changed, 0 insertions, 0 deletions