linux/drivers/net/ethernet/netronome/nfp
John Hurley 50a5852a65 nfp: flower: set tunnel ttl value to net default
Firmware requires that the ttl value for an encapsulating ipv4 tunnel
header be included as an action field. Prior to the support of Geneve
tunnel encap (when ttl set was removed completely), ttl value was
extracted from the tunnel key. However, tests have shown that this can
still produce a ttl of 0.

Fix the issue by setting the namespace default value for each new tunnel.
Follow up patch for net-next will do a full route lookup.

Fixes: 3ca3059dc3 ("nfp: flower: compile Geneve encap actions")
Fixes: b27d6a95a7 ("nfp: compile flower vxlan tunnel set actions")
Signed-off-by: John Hurley <john.hurley@netronome.com>
Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-05-01 18:59:57 -04:00
..
bpf Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2018-04-01 19:49:34 -04:00
flower nfp: flower: set tunnel ttl value to net default 2018-05-01 18:59:57 -04:00
nfpcore nfp: print a message when mutex wait is interrupted 2018-04-12 21:57:27 -04:00
nic nfp: add Makefiles to all directories 2018-02-22 15:22:50 -05:00
Makefile nfp: add TLV capabilities to the BAR 2018-01-19 15:44:18 -05:00
nfp_app_nic.c nfp: don't depend on eth_tbl being available 2018-04-27 11:15:10 -04:00
nfp_app.c nfp: improve app not found message 2018-01-19 15:44:18 -05:00
nfp_app.h nfp: modify app MTU setting callbacks 2018-03-30 10:18:54 -04:00
nfp_asm.c nfp: bpf: add support for atomic add of unknown values 2018-03-28 19:36:14 -07:00
nfp_asm.h nfp: bpf: add support for bpf_get_prandom_u32() 2018-03-28 19:36:14 -07:00
nfp_devlink.c nfp: register devlink after app is created 2018-01-19 15:44:18 -05:00
nfp_hwmon.c
nfp_main.c nfp: advertise firmware for mixed 10G/25G mode 2018-02-22 15:22:50 -05:00
nfp_main.h nfp: don't depend on eth_tbl being available 2018-04-27 11:15:10 -04:00
nfp_net_common.c nfp: add a separate counter for packets with CHECKSUM_COMPLETE 2018-04-04 11:36:50 -04:00
nfp_net_ctrl.c nfp: fix TLV offset calculation 2018-02-02 19:08:20 -05:00
nfp_net_ctrl.h nfp: standardize FW header whitespace 2018-02-16 16:24:24 -05:00
nfp_net_debugdump.c nfp: fix fw dump handling of absolute rtsym size 2018-01-23 10:12:01 -05:00
nfp_net_debugfs.c ethernet: Use octal not symbolic permissions 2018-03-26 12:07:49 -04:00
nfp_net_ethtool.c nfp: add a separate counter for packets with CHECKSUM_COMPLETE 2018-04-04 11:36:50 -04:00
nfp_net_main.c nfp: don't depend on eth_tbl being available 2018-04-27 11:15:10 -04:00
nfp_net_repr.c nfp: modify app MTU setting callbacks 2018-03-30 10:18:54 -04:00
nfp_net_repr.h nfp: protect each repr pointer individually with RCU 2018-01-19 15:44:18 -05:00
nfp_net_sriov.c nfp: inform the VF driver needs to be restarted after changing the MAC 2017-10-28 18:59:48 +09:00
nfp_net_sriov.h
nfp_net.h nfp: add a separate counter for packets with CHECKSUM_COMPLETE 2018-04-04 11:36:50 -04:00
nfp_netvf_main.c nfp: read ME frequency from vNIC ctrl memory 2018-01-19 15:44:18 -05:00
nfp_port.c nfp: forbid disabling hw-tc-offload on representors while offload active 2018-02-08 10:01:27 -05:00
nfp_port.h nfp: forbid disabling hw-tc-offload on representors while offload active 2018-02-08 10:01:27 -05:00