From: Jiri Pirko <j...@mellanox.com> Ido says:
This patchset aims to prepare the mlxsw driver for VRF offload. The follow-up patchsets that introduce VRF support can be found here: https://github.com/idosch/linux/tree/idosch-next The first four patches are mainly concerned with the netdevice notification block. There are no functional changes, but merely restructuring to more easily integrate VRF enslavement. Patches 5-10 remove various assumptions throughout the code about a single virtual router (VR) and also restructure the internal data structures to more accurately represent the device's operation. Ido Schimmel (10): mlxsw: spectrum: Sanitize bridge's upper devices mlxsw: spectrum: Don't assume upper device's type mlxsw: spectrum: Associate PVID vPort with appropriate netdev mlxsw: spectrum: Destroy RIFs based on last removed address mlxsw: spectrum_router: Allow more route types to be programmed mlxsw: spectrum_router: Place RIF related code with router code mlxsw: spectrum_router: Simplify LPM tree allocation mlxsw: spectrum_router: Refactor virtual router handling mlxsw: spectrum_router: Explicitly Associate RIFs with VRs mlxsw: spectrum_router: Make abort mechanism VR-aware drivers/net/ethernet/mellanox/mlxsw/reg.h | 4 +- drivers/net/ethernet/mellanox/mlxsw/spectrum.c | 598 +--------- drivers/net/ethernet/mellanox/mlxsw/spectrum.h | 52 +- .../net/ethernet/mellanox/mlxsw/spectrum_router.c | 1159 +++++++++++++++----- 4 files changed, 956 insertions(+), 857 deletions(-) -- 2.7.4