summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/freescale/dpaa2/dpaa2-switch-flower.c
diff options
context:
space:
mode:
authorIoana Ciornei <ioana.ciornei@nxp.com>2021-04-13 16:24:45 +0300
committerDavid S. Miller <davem@davemloft.net>2021-04-13 15:12:18 -0700
commit2bf90ba5100efa2a06eeecda52fec72a2b024d50 (patch)
tree74b256cabad1330d732cb792a7c10d3f41ae2e06 /drivers/net/ethernet/freescale/dpaa2/dpaa2-switch-flower.c
parent1b0f14b6c218238de8e1e3ebb06a4efad58043b5 (diff)
dpaa2-switch: install default STP trap rule with the highest priority
Change the default ACL trap rule for STP frames to have the highest priority. In the same ACL table will reside both default rules added by the driver for its internal use as well as rules added with tc flower. In this case, the default rules such as the STP one that we already have should have the highest priority. Also, remove the check for a full ACL table since we already know that it's sized so that we don't hit this case. The last thing changes is that default trap filters will not be counted in the acl_tbl's num_rules variable since their number doesn't change. Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/freescale/dpaa2/dpaa2-switch-flower.c')
0 files changed, 0 insertions, 0 deletions