nfp: pass packet pointer to nfp_net_parse_meta()
authorJakub Kicinski <jakub.kicinski@netronome.com>
Tue, 17 Dec 2019 22:12:00 +0000 (14:12 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Dec 2019 01:46:51 +0000 (17:46 -0800)
commit572c7245182a200e3ac69bb86a0e60cc34c34dc9
tree21535c07cf3ca391bbf874e0aba2f82145b3935e
parent8fb0d2ced9786f9267713e2aef6dc58b3ef93d62
nfp: pass packet pointer to nfp_net_parse_meta()

Make nfp_net_parse_meta() take a packet pointer and return
a drop/no drop decision. Right now it returns the end of
metadata and caller compares it to the packet pointer.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/nfp_net_common.c