diff options
author | Jakub Kicinski <jakub.kicinski@netronome.com> | 2016-11-03 20:12:05 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-11-04 21:56:15 +0300 |
commit | 13df4c666c551bba97618d7e3908c2ecd03ceefb (patch) | |
tree | 53c1dfaa7b7a959317373286a6465291a3ad2d8a /include/linux/debugfs.h | |
parent | 164d1e9e5d5235c44851e606d01dd699d8bb15d3 (diff) | |
download | linux-13df4c666c551bba97618d7e3908c2ecd03ceefb.tar.xz |
nfp: reorganize nfp_net_rx() to get packet offsets early
Calculate packet offsets early in nfp_net_rx() so that we will be
able to use them in upcoming XDP handler. While at it move relevant
variables into the loop scope.
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/debugfs.h')
0 files changed, 0 insertions, 0 deletions