[patch net-next 00/18] mlxsw: Do preparations before ipv4 router offload introduction

Jiri Pirko
2016-07-02T07:27:23Z

From: Jiri Pirko <jiri@mellanox.com>

This patchset introduces router interfaces. At this point the router
still operates in slowpath, but that's needed in order not to introduce a
regression.

Ido Schimmel (16):
mlxsw: spectrum: Send untagged packets through a port netdev
mlxsw: spectrum: Remove VLANs configuration via SELF flag
mlxsw: spectrum: Sync PVID vPort LAG status
mlxsw: spectrum: Remove RIF from PVID vPort when joining / leaving LAG
mlxsw: reg: Add Router General Configuration Register
mlxsw: spectrum: Initialize ports at the end of init sequence
mlxsw: spectrum_router: Add basic ipv4 router initialization
mlxsw: spectrum: Add router interface struct
mlxsw: reg: Add FDB action to forward to router
mlxsw: reg: Add Router Interface Table Register
mlxsw: spectrum: Use action 'discard' when removing traps
mlxsw: spectrum: Edit RIF properties based on netdev events
mlxsw: spectrum: Introduce support for router interfaces
mlxsw: spectrum: Unsplit the vFID range
mlxsw: spectrum: Configure FIDs based on bridge events
mlxsw: spectrum: Enable L3 interfaces on top of bridge devices

Jiri Pirko (2):
mlxsw: spectrum: Add traps needed for router implementation
mlxsw: spectrum: Add couple of lower device helper functions

drivers/net/ethernet/mellanox/mlxsw/Makefile | 2 +-
drivers/net/ethernet/mellanox/mlxsw/reg.h | 276 ++++-
drivers/net/ethernet/mellanox/mlxsw/spectrum.c | 1158 ++++++++++++++------
drivers/net/ethernet/mellanox/mlxsw/spectrum.h | 93 +-
.../net/ethernet/mellanox/mlxsw/spectrum_router.c | 68 ++
.../ethernet/mellanox/mlxsw/spectrum_switchdev.c | 107 +-
drivers/net/ethernet/mellanox/mlxsw/trap.h | 5 +
include/linux/netdevice.h | 18 +
net/core/dev.c | 46 +
9 files changed, 1358 insertions(+), 415 deletions(-)
create mode 100644 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c

--
2.5.5