From: Jiri Pirko Subject: [patch net 0/4] mlxsw: GRE offloading fixes Date: Tue, 28 Nov 2017 13:17:10 +0100 Message-ID: <20171128121714.5406-1-jiri@resnulli.us> Cc: davem@davemloft.net, petrm@mellanox.com, idosch@mellanox.com, mlxsw@mellanox.com To: netdev@vger.kernel.org Return-path: Received: from mail-wm0-f48.google.com ([74.125.82.48]:44927 "EHLO mail-wm0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751596AbdK1MRQ (ORCPT ); Tue, 28 Nov 2017 07:17:16 -0500 Received: by mail-wm0-f48.google.com with SMTP id r68so1408165wmr.3 for ; Tue, 28 Nov 2017 04:17:15 -0800 (PST) Sender: netdev-owner@vger.kernel.org List-ID: From: Jiri Pirko 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