aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorVladimir Oltean <[email protected]>2022-02-16 16:30:07 +0200
committerDavid S. Miller <[email protected]>2022-02-17 14:06:51 +0000
commitb9bace6e534d431871a9d69cbd06d3a798f5086d (patch)
tree94df8138e35c5a6ce44081c5aa5912993cdba3cf /tools/perf/scripts/python/bin/stackcollapse-report
parent36fac35b29072e345d5fc485cf7841be265181b1 (diff)
net: mscc: ocelot: use a single VCAP filter for all MRP traps
The MRP assist code installs a VCAP IS2 trapping rule for each port, but since the key and the action is the same, just the ingress port mask differs, there isn't any need to do this. We can save some space in the TCAM by using a single filter and adjusting the ingress port mask. Reuse the ocelot_trap_add() and ocelot_trap_del() functions for this purpose. Now that the cookies are no longer per port, we need to change the allocation scheme such that MRP traps use a fixed number. Signed-off-by: Vladimir Oltean <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions