]> git.baikalelectronics.ru Git - kernel.git/commit
nfp: flower: reject tunnel encap with ipv6 outer headers for offloading
authorLouis Peens <louis.peens@netronome.com>
Tue, 11 Sep 2018 13:38:45 +0000 (06:38 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Sep 2018 20:18:30 +0000 (13:18 -0700)
commit5103726f3dc83a86f1fd02dc78a2bdd78ee42ff4
tree6a76c73e26b34c3455f63d8615f0de34a078d09f
parentd037773b08e2b6266b4ad8e6923e79175b9f41a2
nfp: flower: reject tunnel encap with ipv6 outer headers for offloading

This fixes a bug where ipv6 tunnels would report that it is
getting offloaded to hardware but would actually be rejected
by hardware.

Fixes: 1f1e8f73dc07 ("nfp: compile flower vxlan tunnel set actions")
Signed-off-by: Louis Peens <louis.peens@netronome.com>
Reviewed-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>
drivers/net/ethernet/netronome/nfp/flower/action.c