From: Jiri Pirko <j...@mellanox.com> Ido says: Patches 1-3 fix a long standing problem in the driver's init sequence, which manifests itself quite often when routing daemons try to configure an IP address on registered netdevs that don't yet have an associated vPort.
Patches 4-9 add missing packet traps for the router to work properly and also fix ordering issue following the recent changes to the driver's init sequence. The last patch isn't related to the router, but fixes a general problem in which under certain conditions packets aren't trapped to CPU. v1->v2: - Change order of patch 7 - Add patch 6 following Ilan's comment - Add patchset name and cover letter Elad Raz (1): mlxsw: spectrum: Add missing packet traps Ido Schimmel (8): mlxsw: spectrum: Don't return upon error in removal path mlxsw: spectrum: Remove redundant errors from the code mlxsw: spectrum: Create PVID vPort before registering netdevice mlxsw: spectrum: Mark port as active before registering it mlxsw: spectrum: Trap loop-backed packets mlxsw: spectrum: Add missing rollbacks in error path mlxsw: spectrum: Unmap 802.1Q FID before destroying it mlxsw: spectrum: Allow packets to be trapped from any PG Jiri Pirko (1): mlxsw: reg: Fix missing op field fill-up drivers/net/ethernet/mellanox/mlxsw/reg.h | 11 +++ drivers/net/ethernet/mellanox/mlxsw/spectrum.c | 110 +++++++++++---------- drivers/net/ethernet/mellanox/mlxsw/spectrum.h | 2 - .../net/ethernet/mellanox/mlxsw/spectrum_buffers.c | 2 +- .../ethernet/mellanox/mlxsw/spectrum_switchdev.c | 42 ++------ drivers/net/ethernet/mellanox/mlxsw/trap.h | 4 + 6 files changed, 83 insertions(+), 88 deletions(-) -- 2.5.5