diff options
author | Sunil Goutham <sgoutham@marvell.com> | 2019-11-14 10:56:22 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-11-14 18:09:15 -0800 |
commit | e07fb507aeb1f1552abfa352801eddab1bd1999d (patch) | |
tree | bc8c74f50bd35fd4d885e7176ca862cd740c66f0 /Documentation | |
parent | f967488d095ef30d62771a84d86211b44825a743 (diff) | |
download | linux-e07fb507aeb1f1552abfa352801eddab1bd1999d.tar.bz2 |
octeontx2-af: Add NPC MCAM entry allocation status to debugfs
Added support to display current NPC MCAM entries and counter's allocation
status ín debugfs.
cat /sys/kernel/debug/octeontx2/npc/mcam_info' will dump following info
- MCAM Rx and Tx keysize
- Total MCAM entries and counters
- Current available count
- Count of number of MCAM entries and counters allocated
by a RVU PF/VF device.
Also, one NPC MCAM counter (last one) is reserved and mapped to
NPC RX_INTF's MISS_ACTION to count dropped packets due to no MCAM
entry match. This pkt drop counter can be checked via debugfs.
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions