]> git.baikalelectronics.ru Git - kernel.git/commit
nfp: flower: compile Geneve encap actions
authorJohn Hurley <john.hurley@netronome.com>
Tue, 19 Dec 2017 16:58:29 +0000 (17:58 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Dec 2017 19:52:13 +0000 (14:52 -0500)
commitec77103fb53007812887e340f83cb9cceec36b37
tree9d1482da2ddc255b7e280e7c9d22a0e350ad13cb
parent51ce40a4f6528ff7d37f56ceddc285f540158abb
nfp: flower: compile Geneve encap actions

Generate rules for the NFP to encapsulate packets in Geneve tunnels. Move
the vxlan action code to generic udp tunnel actions and use core code for
both vxlan and Geneve.

Only support outputting to well known port 6081. Setting tunnel options
is not supported yet.

Only attempt to offload if the fw supports Geneve.

Signed-off-by: John Hurley <john.hurley@netronome.com>
Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/flower/action.c
drivers/net/ethernet/netronome/nfp/flower/cmsg.h