mirror_ubuntu-kernels/drivers/net/ethernet/marvell/octeontx2/af
Prakash Brahmajyosyula 02e202c3d1 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>
2019-11-14 18:09:15 -08:00
..
cgx_fw_if.h octeontx2-af: Enable mkex profile 2018-12-03 16:23:08 -08:00
cgx.c octeontx2-af: Fix a resource leak in an error handling path in 'cgx_probe()' 2019-01-04 12:44:50 -08:00
cgx.h octeontx2-af: Enable mkex profile 2018-12-03 16:23:08 -08:00
common.h cross-tree: phase out dma_zalloc_coherent() on headers 2019-01-08 07:58:49 -05:00
Makefile octeontx2-af: Dump current resource provisioning status 2019-11-14 18:09:15 -08:00
mbox.c octeontx2-af: Convert mbox handlers APIs to lowercase 2018-11-19 17:56:07 -08:00
mbox.h octeontx2-af: Enable mkex profile 2018-12-03 16:23:08 -08:00
npc_profile.h octeontx2-af: Add NPC KPU profile 2018-10-22 20:15:37 -07:00
npc.h octeontx2-af: Enable mkex profile 2018-12-03 16:23:08 -08:00
rvu_cgx.c octeontx2-af: Bringup CGX LMAC links by default 2018-11-23 17:23:25 -08:00
rvu_debugfs.c octeontx2-af: Add NIX RQ, SQ and CQ contexts to debugfs 2019-11-14 18:09:15 -08:00
rvu_nix.c octeontx2-af: Add LSO format configuration mailbox 2018-12-03 16:23:08 -08:00
rvu_npa.c octeontx2-af: Add NPA aura and pool contexts to debugfs 2019-11-14 18:09:15 -08:00
rvu_npc.c octeontx2-af: Enable mkex profile 2018-12-03 16:23:08 -08:00
rvu_reg.c octeontx2-af: NIX Tx scheduler queue config support 2018-10-22 20:15:37 -07:00
rvu_reg.h octeontx2-af: Config NPC KPU engines with parser profile 2018-10-22 20:15:37 -07:00
rvu_struct.h octeontx2-af: Add NIX RQ, SQ and CQ contexts to debugfs 2019-11-14 18:09:15 -08:00
rvu.c octeontx2-af: Dump current resource provisioning status 2019-11-14 18:09:15 -08:00
rvu.h octeontx2-af: Add NIX RQ, SQ and CQ contexts to debugfs 2019-11-14 18:09:15 -08:00