mlxsw: spectrum: Apply RIF configuration when joining a LAG
authorIdo Schimmel <idosch@nvidia.com>
Sun, 6 Dec 2020 08:22:21 +0000 (10:22 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Dec 2020 03:22:14 +0000 (19:22 -0800)
commit31e1de4f1242f338eaa62cc53d582116c83b9dd0
tree232dfe669d355d3fec54dc50009ebb1b41bbeb6b
parent4054eebf0fb07b010098adcdea1e1d3978490b9a
mlxsw: spectrum: Apply RIF configuration when joining a LAG

In case a router interface (RIF) is configured for a LAG, make sure its
configuration is applied on the new LAG member.

Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum.c
drivers/net/ethernet/mellanox/mlxsw/spectrum.h
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c