[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20171020071616.1498-1-jiri@resnulli.us>
Date: Fri, 20 Oct 2017 09:16:14 +0200
From: Jiri Pirko <jiri@...nulli.us>
To: netdev@...r.kernel.org
Cc: davem@...emloft.net, petrm@...lanox.com, idosch@...lanox.com,
mlxsw@...lanox.com
Subject: [patch net 0/2] mlxsw: spectrum: Configure TTL of "inherit" for offloaded tunnels
From: Jiri Pirko <jiri@...lanox.com>
Petr says:
Currently mlxsw only offloads tunnels that are configured with TTL of "inherit"
(which is the default). However, Spectrum defaults to 255 and the driver
neglects to change the configuration. Thus the tunnel packets from offloaded
tunnels always have TTL of 255, even though tunnels with explicit TTL of 255 are
never actually offloaded.
To fix this, introduce support for TIGCR, the register that keeps the related
bits of global tunnel configuration, and use it on first offload to properly
configure inheritance of TTL of tunnel packets from overlay packets.
Petr Machata (2):
mlxsw: reg: Add Tunneling IPinIP General Configuration Register
mlxsw: spectrum_router: Configure TIGCR on init
drivers/net/ethernet/mellanox/mlxsw/reg.h | 31 ++++++++++++++++++++++
.../net/ethernet/mellanox/mlxsw/spectrum_router.c | 11 +++++++-
2 files changed, 41 insertions(+), 1 deletion(-)
--
2.9.5
Powered by blists - more mailing lists