aboutsummaryrefslogtreecommitdiff
path: root/net/ipv4/tcp_output.c
diff options
context:
space:
mode:
authorAnshumali Gaur <agaur@marvell.com>2024-06-03 16:52:48 +0530
committerDavid S. Miller <davem@davemloft.net>2024-06-05 12:29:14 +0100
commitb907194a5d5bcd3b01d28d095f6a4d9fcd9c5354 (patch)
tree9360eb6983d579bf5ffc2db8364596e5a214c939 /net/ipv4/tcp_output.c
parentfd70f0443e24c3888bf4b7f198df6d705c9b8ab2 (diff)
downloadlinux-b907194a5d5bcd3b01d28d095f6a4d9fcd9c5354.tar.gz
linux-b907194a5d5bcd3b01d28d095f6a4d9fcd9c5354.tar.bz2
linux-b907194a5d5bcd3b01d28d095f6a4d9fcd9c5354.zip
octeontx2-af: Add debugfs support to dump NIX TM topology
This patch adds support to dump NIX transmit queue topology. There are multiple levels of scheduling/shaping supported by NIX and a packet traverses through multiple levels before sending the packet out. At each level, there are set of scheduling/shaping rules applied to a packet flow. Each packet traverses through multiple levels SQ->SMQ->TL4->TL3->TL2->TL1 and these levels are mapped in a parent-child relationship. This patch dumps the debug information related to all TM Levels in the following way. Example: $ echo <nixlf> > /sys/kernel/debug/octeontx2/nix/tm_tree $ cat /sys/kernel/debug/octeontx2/nix/tm_tree A more desriptive set of registers at each level can be dumped in the following way. Example: $ echo <nixlf> > /sys/kernel/debug/octeontx2/nix/tm_topo $ cat /sys/kernel/debug/octeontx2/nix/tm_topo Signed-off-by: Anshumali Gaur <agaur@marvell.com> Reviewed-by: Wojciech Drewek <wojciech.drewek@intel.com> Reviewed-by: Simon Horman <horms@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions