nfp: flower: add ipv6 set flow label and hop limit offload
authorPieter Jansen van Vuuren <pieter.jansenvanvuuren@netronome.com>
Wed, 7 Nov 2018 01:07:29 +0000 (17:07 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Nov 2018 19:45:21 +0000 (11:45 -0800)
commit4234d62c27a633a089506f0b05040d7c6ff5fd6c
treeab8f2a8161a60fd9ed78921cde9b7833860f281d
parenta3c6b063fee70a7ceae385741210f39b1ec2ab94
nfp: flower: add ipv6 set flow label and hop limit offload

Add ipv6 set flow label and hop limit action offload. Since pedit sets
headers per 4 byte word, we need to ensure that setting either version,
priority, payload_len or nexthdr does not get offloaded.

Signed-off-by: Pieter Jansen van Vuuren <pieter.jansenvanvuuren@netronome.com>
Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/flower/action.c
drivers/net/ethernet/netronome/nfp/flower/cmsg.h