Patch #1 switches the driver to use a unique and stable ECMP/LAG seed. This allows for consistent behavior across reboots and avoids hash polarization at the same time.
Patch #2 relaxes the FIB rule validation in the driver to allow the installation of rules that direct locally generated traffic (iif=lo). This does not result in a discrepancy between both data paths because packets received by the device would never match such rules. Ido Schimmel (2): mlxsw: spectrum: Use a stable ECMP/LAG seed mlxsw: spectrum_router: Relax FIB rule validation drivers/net/ethernet/mellanox/mlxsw/spectrum.c | 4 ++-- drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c | 8 ++++++-- 2 files changed, 8 insertions(+), 4 deletions(-) -- 2.20.1