nfp: flower: refactor shared ip header in match offload
authorPieter Jansen van Vuuren <pieter.jansenvanvuuren@netronome.com>
Mon, 26 Mar 2018 08:16:37 +0000 (10:16 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Mar 2018 17:01:09 +0000 (13:01 -0400)
commit07e1671cfca54edf3f0c0915ef8754013b02dfbb
treec94eca7d5af65ca5ec475433675e260f6c55da5e
parent90c00f81548e86ff92fb9f6031c2c3d70f04d50b
nfp: flower: refactor shared ip header in match offload

Refactored shared ip header code for IPv4 and IPv6 in match offload.

Signed-off-by: Pieter Jansen van Vuuren <pieter.jansenvanvuuren@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