• Ioana Ciornei's avatar
    dpaa2-switch: install default STP trap rule with the highest priority · 2bf90ba5
    Ioana Ciornei authored
    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: default avatarIoana Ciornei <ioana.ciornei@nxp.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    2bf90ba5
dpaa2-switch.c 79.3 KB