From: Ido Schimmel <ido...@mellanox.com> This patch set contains another set of small changes in mlxsw trap configuration. It is the last set before exposing control traps (e.g., IGMP query, ARP request) via devlink-trap.
Tested with existing devlink-trap selftests. Please see individual patches for a detailed changelog. Ido Schimmel (14): mlxsw: spectrum: Use dedicated trap group for ACL trap mlxsw: spectrum: Use same switch case for identical groups mlxsw: spectrum: Rename IPv6 ND trap group mlxsw: spectrum: Use same trap group for various IPv6 packets mlxsw: spectrum: Use separate trap group for FID miss mlxsw: spectrum: Use same trap group for local routes and link-local destination mlxsw: spectrum: Reduce priority of locally delivered packets mlxsw: switchx2: Move SwitchX-2 trap groups out of main enum mlxsw: spectrum_trap: Do not hard code "thin" policer identifier mlxsw: reg: Move all trap groups under the same enum mlxsw: spectrum: Share one group for all locally delivered packets mlxsw: spectrum: Treat IPv6 link-local SIP as an exception mlxsw: spectrum: Add packet traps for BFD packets mlxsw: spectrum_router: Allow programming link-local prefix routes drivers/net/ethernet/mellanox/mlxsw/reg.h | 17 ++++---- .../net/ethernet/mellanox/mlxsw/spectrum.c | 40 +++++++++++-------- .../ethernet/mellanox/mlxsw/spectrum_router.c | 6 ++- .../ethernet/mellanox/mlxsw/spectrum_trap.c | 17 +++++--- .../ethernet/mellanox/mlxsw/spectrum_trap.h | 2 + .../net/ethernet/mellanox/mlxsw/switchx2.c | 5 +++ drivers/net/ethernet/mellanox/mlxsw/trap.h | 2 + .../drivers/net/mlxsw/sharedbuffer.sh | 2 +- 8 files changed, 56 insertions(+), 35 deletions(-) -- 2.26.2