nfp: flower: ignore checksum actions when performing pedit actions
authorPieter Jansen van Vuuren <pieter.jansenvanvuuren@netronome.com>
Sat, 30 Jun 2018 00:04:39 +0000 (17:04 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 30 Jun 2018 12:31:56 +0000 (21:31 +0900)
commited8f2b52b622bbc550dadb69d3f10d81528f9fbc
treed23702c71f67d8c05a9f80a0e2cc90b83a0208a5
parent5d4b0b4068f1dc637d8a9b53c2960bbad8ce654d
nfp: flower: ignore checksum actions when performing pedit actions

Hardware will automatically update csum in headers when a set action has
been performed. This means we could in the driver ignore the explicit
checksum action when performing a set action.

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>
drivers/net/ethernet/netronome/nfp/flower/action.c