commit | b92fb77f27af90d3ee785eedc326f80cb6190597 | [log] [tgz] |
---|---|---|
author | Jakub Kicinski <jakub.kicinski@netronome.com> | Fri Mar 10 10:38:38 2017 -0800 |
committer | David S. Miller <davem@davemloft.net> | Sun Mar 12 23:43:19 2017 -0700 |
tree | e4f9f1285a4e5f99bcdfb9ab5ad9ac1391c07648 | |
parent | 1abae31953996283e1956af0b8ffa72c2b682e77 [diff] |
nfp: prepare metadata handling for xdp_adjust_head() XDP may require us to move metadata to make room for pushing headers. Track meta data location with a pointer and pass it explicitly to functions. While at it validate that meta_len from the descriptor is not bogus. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>