]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'mlxsw-fixes'
authorDavid S. Miller <davem@davemloft.net>
Sun, 22 Oct 2017 01:19:03 +0000 (02:19 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 22 Oct 2017 01:19:03 +0000 (02:19 +0100)
commitc2fb0d332acf42b990c8fb06d0e97149245884e9
tree56c6335b03d29ccb45313b65d29e63329d44898e
parentcd85fe3aa45f7efdfe0b374cc7a2ef742feb1c75
parent8bf219b4cba43c35003015a5505c543ce6100755
Merge branch 'mlxsw-fixes'

Jiri Pirko says:

====================
mlxsw: spectrum: Configure TTL of "inherit" for offloaded tunnels

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.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>