Skip to content

mlxsw: GRE offloading fixes

Jiri Pirko netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4mlxsw: spectrum_router: Offload decap only for up tunnelsdrivers/net/ethernet/mellanox/mlxsw/spectrum_router.c+1 -10 replies
2/4mlxsw: spectrum_router: Demote tunnels on VRF migrationdrivers/net/ethernet/mellanox/mlxsw/spectrum_router.c+18 -00 replies
3/4mlxsw: spectrum_router: Handle encap to demoted tunnelsdrivers/net/ethernet/mellanox/mlxsw/spectrum_router.c+29 -320 replies
4/4mlxsw: spectrum_router: Update nexthop RIF on updatedrivers/net/ethernet/mellanox/mlxsw/spectrum_router.c+21 -70 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchIdo Schimmel
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [patch net 0/4] mlxsw: GRE offloading fixes

From: Jiri Pirko <[email protected]>

Petr says:

This patchset fixes a couple bugs in offloading GRE tunnels in mlxsw driver.

Patch #1 fixes a problem that local routes pointing at a GRE tunnel device are offloaded even if that netdevice is down.

Patch #2 detects that as a result of moving a GRE netdevice to a different VRF, two tunnels now have a conflict of local addresses, something that the mlxsw driver can't offload.

Patch #3 fixes a FIB abort caused by forming a route pointing at a GRE tunnel that is eligible for offloading but already onloaded.

Patch #4 fixes a problem that next hops migrated to a new RIF kept the old RIF reference, which went dangling shortly afterwards.

Petr Machata (4):
mlxsw: spectrum_router: Offload decap only for up tunnels
mlxsw: spectrum_router: Demote tunnels on VRF migration
mlxsw: spectrum_router: Handle encap to demoted tunnels
mlxsw: spectrum_router: Update nexthop RIF on update

 .../net/ethernet/mellanox/mlxsw/spectrum_router.c  | 109 +++++++++++++--------
 1 file changed, 69 insertions(+), 40 deletions(-)
Signature · 1 line
2.9.5