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(-)

-- 
2.9.5

Reply via email to