diff options
author | John Hurley <john.hurley@netronome.com> | 2017-12-19 17:58:28 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-19 14:52:12 -0500 |
commit | bedeca15afd8f0a2d3ad3a76830b3f6525a2aeeb (patch) | |
tree | a35debcd5d2eabe3e1af71fc8829129f8357dc1a /drivers/net/ethernet/sfc/mcdi.h | |
parent | 739973486f53a4c4145d41b21ec36fefb0983f68 (diff) | |
download | linux-bedeca15afd8f0a2d3ad3a76830b3f6525a2aeeb.tar.bz2 |
nfp: flower: compile Geneve match fields
Compile Geneve match fields for offloading to the NFP. The addition of
Geneve overflows the 8 bit key_layer field, so apply extended metadata to
the match cmsg allowing up to 32 more key_layer fields.
Rather than adding new Geneve blocks, move the vxlan code to generic ipv4
udp tunnel structs and use these for both vxlan and Geneve.
Matches are only supported when specifically mentioning well known port
6081. Geneve tunnel options are not yet included in the match.
Only offload Geneve if the fw supports it - include check for this.
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>
Diffstat (limited to 'drivers/net/ethernet/sfc/mcdi.h')
0 files changed, 0 insertions, 0 deletions