mbox series

[net-next,00/11] mlxsw: Various trap changes - part 1

Message ID 20200524215107.1315526-1-idosch@idosch.org
Headers show
Series mlxsw: Various trap changes - part 1 | expand

Message

Ido Schimmel May 24, 2020, 9:50 p.m. UTC
From: Ido Schimmel <idosch@mellanox.com>

This patch set contains various changes in mlxsw trap configuration.
Another set will perform similar changes 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 (11):
  mlxsw: spectrum: Rename IGMP trap group
  mlxsw: spectrum: Use same trap group for MLD and IGMP packets
  mlxsw: spectrum: Trap IPv4 DHCP packets in router
  mlxsw: spectrum: Change default rate and priority of DHCP packets
  mlxsw: spectrum_buffers: Assign non-zero quotas to TC 0 of the CPU
    port
  mlxsw: spectrum: Align TC and trap priority
  mlxsw: spectrum_trap: Remove unnecessary field
  mlxsw: spectrum: Rename ARP trap group
  mlxsw: spectrum: Use same trap group for IPv6 ND and ARP packets
  mlxsw: spectrum: Use dedicated trap group for sampled packets
  mlxsw: spectrum: Fix spelling mistake in trap's name

 drivers/net/ethernet/mellanox/mlxsw/reg.h     |  6 +-
 .../net/ethernet/mellanox/mlxsw/spectrum.c    | 64 +++++++++----------
 .../mellanox/mlxsw/spectrum_buffers.c         |  2 +-
 .../ethernet/mellanox/mlxsw/spectrum_trap.c   |  7 +-
 drivers/net/ethernet/mellanox/mlxsw/trap.h    |  5 +-
 5 files changed, 40 insertions(+), 44 deletions(-)