linux/drivers/net/ethernet/netronome/nfp/flower
Pieter Jansen van Vuuren 74af597510 nfp: fix supported key layers calculation
Previously when calculating the supported key layers MPLS, IPv4/6
TTL and TOS were not considered. This patch checks that the TTL and
TOS fields are masked out before offloading. Additionally this patch
checks that MPLS packets are correctly handled, by not offloading them.

Fixes: af9d842c13 ("nfp: extend flower add flow offload")
Signed-off-by: Pieter Jansen van Vuuren <pieter.jansenvanvuuren@netronome.com>
Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-08-28 15:20:24 -07:00
..
action.c nfp: add basic action capabilities to flower offloads 2017-07-01 08:51:32 -07:00
cmsg.c nfp: do not update MTU from BH in flower app 2017-08-11 14:50:09 -07:00
cmsg.h nfp: add control message passing capabilities to flower offloads 2017-07-01 08:51:32 -07:00
main.c nfp: flower: add missing clean up call to avoid memory leaks 2017-07-07 09:17:42 +01:00
main.h nfp: add a stats handler for flower offloads 2017-07-01 08:51:32 -07:00
match.c nfp: fix unchecked flow dissector use 2017-08-28 15:20:24 -07:00
metadata.c nfp: freeing the wrong variable 2017-07-12 08:18:14 -07:00
offload.c nfp: fix supported key layers calculation 2017-08-28 15:20:24 -07:00