diff options
| author | Kiran Kumar K <kirankumark@marvell.com> | 2026-08-25 10:47:25 +0530 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2026-08-31 10:04:32 +0100 |
| commit | 1376afc7660bad2a1a5ee0876898312a486cf8bd (patch) | |
| tree | e49f313a10df19421889f7c3afd6ba5dd1dd5e89 /tools/perf/scripts/python/stackcollapse.py | |
| parent | a8455260b2e9c024d1872ac1c094793d55a7e537 (diff) | |
octeontx2-af: fix CN20K default MCAM rule removal on port cleanup
npc_mcam_free_all_entries() disables every MCAM entry mapped to a
port before freeing it. On CN20K, that also disables the default
broadcast, multicast, promiscuous, and unicast rules, which causes
packet drops when all rules are removed per port.
Only disable and free non-default entries. Leave CN20K default rules
enabled when freeing the remaining port entries.
Fixes: 013717353c03 ("octeontx2-af: npc: cn20k: Tear down default MCAM rules explicitly on free")
Signed-off-by: Kiran Kumar K <kirankumark@marvell.com>
Signed-off-by: Ratheesh Kannoth <rkannoth@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
