aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorSubbaraya Sundeep <[email protected]>2020-11-15 01:22:57 +0530
committerJakub Kicinski <[email protected]>2020-11-17 13:48:21 -0800
commit4d6beb9c8032cec849a79f9247f4f038834515d8 (patch)
tree5f09520d4fe419a181aa96a551411b862a4d6eec /tools/perf/scripts/python/intel-pt-events.py
parent63ee51575f6c4a070ffed059b9caa6e4645f3872 (diff)
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 <[email protected]> Signed-off-by: Sunil Goutham <[email protected]> Signed-off-by: Naveen Mamindlapalli <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions