]> git.baikalelectronics.ru Git - 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)
commitc181609f9de5cb0bae8b888a9d2abc8506b65fe9
treecc2d33188e202258559641b689073b7fa42e0286
parent06d595912c8009ab22892d28efaf102e1595810a
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