linux-stable/drivers/net/ethernet/netronome
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
..
nfp nfp: fix supported key layers calculation 2017-08-28 15:20:24 -07:00
Kconfig nfp: flower: add Kconfig for flower app 2017-06-27 15:48:50 -04:00
Makefile nfp: rename the driver and add new main file 2017-02-10 15:52:24 -05:00