diff options
author | Subbaraya Sundeep <sbhatta@marvell.com> | 2020-11-14 22:52:57 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-11-18 00:48:21 +0300 |
commit | 4d6beb9c8032cec849a79f9247f4f038834515d8 (patch) | |
tree | 5f09520d4fe419a181aa96a551411b862a4d6eec /sound/sparc | |
parent | 63ee51575f6c4a070ffed059b9caa6e4645f3872 (diff) | |
download | linux-4d6beb9c8032cec849a79f9247f4f038834515d8.tar.xz |
octeontx2-af: Add debugfs entry to dump the MCAM rules
Add debugfs support to dump the MCAM rules installed using
NPC_INSTALL_FLOW mbox message. Debugfs file can display mcam
entry, counter if any, flow type and counter hits.
Ethtool will dump the ntuple flows related to the PF only.
The debugfs file gives systemwide view of the MCAM rules
installed by all the PF's.
Below is the example output when the debugfs file is read:
~ # mount -t debugfs none /sys/kernel/debug
~ # cat /sys/kernel/debug/octeontx2/npc/mcam_rules
Installed by: PF1
direction: RX
mcam entry: 227
udp source port 23 mask 0xffff
Forward to: PF1 VF0
action: Direct to queue 0
enabled: yes
counter: 1
hits: 0
Signed-off-by: Subbaraya Sundeep <sbhatta@marvell.com>
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Signed-off-by: Naveen Mamindlapalli <naveenm@marvell.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'sound/sparc')
0 files changed, 0 insertions, 0 deletions