]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
nfp: flower: allow matching on ipv4 UDP tunnel tos and ttl
authorJohn Hurley <john.hurley@netronome.com>
Tue, 7 Aug 2018 15:35:59 +0000 (17:35 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Aug 2018 19:22:14 +0000 (12:22 -0700)
commitd7ff7ec573860dc654fa4c8641684ba3db03004e
treecc2d33188e202258559641b689073b7fa42e0286
parent2a43747147699c6187d8508b40a28a50f42b0ee5
nfp: flower: allow matching on ipv4 UDP tunnel tos and ttl

The addition of FLOW_DISSECTOR_KEY_ENC_IP to TC flower means that the ToS
and TTL of the tunnel header can now be matched on.

Extend the NFP tunnel match function to include these new fields.

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/cmsg.h
drivers/net/ethernet/netronome/nfp/flower/match.c
drivers/net/ethernet/netronome/nfp/flower/offload.c