aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c
diff options
context:
space:
mode:
authorJohn Hurley <john.hurley@netronome.com>2019-12-17 21:57:20 +0000
committerDavid S. Miller <davem@davemloft.net>2019-12-19 17:37:13 -0800
commit1922c9a4e273fd0934f82d9d80c69d53658a1c9d (patch)
tree36567e43f28086f7d5945ec3f42f46e08f887fa4 /drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c
parentnfp: flower: offload list of IPv6 tunnel endpoint addresses (diff)
downloadlinux-dev-1922c9a4e273fd0934f82d9d80c69d53658a1c9d.tar.xz
linux-dev-1922c9a4e273fd0934f82d9d80c69d53658a1c9d.zip
nfp: flower: modify pre-tunnel and set tunnel action for ipv6
The IPv4 set tunnel action allows the setting of tunnel metadata such as the TTL and ToS values. The pre-tunnel action includes the destination IP address and is used to calculate the next hop from from the neighbour table. Much of the IPv4 tunnel actions can be reused for IPv6 tunnels. Change the names of associated functions and structs to remove the IPv4 identifier and make minor modifcations to support IPv6 tunnel actions. Ensure the pre-tunnel action contains the IPv6 address along with an identifying flag when an IPv6 tunnel action is required. Signed-off-by: John Hurley <john.hurley@netronome.com> Reviewed-by: Simon Horman <simon.horman@netronome.com> Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c')
0 files changed, 0 insertions, 0 deletions