]> 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)
commit8ac016c69eaba31043c633402c9ce1a484052c70
tree9d1482da2ddc255b7e280e7c9d22a0e350ad13cb
parent9836cde641d09d967da46fcd2055c0c672edccd0
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