diff options
author | Jakub Kicinski <jakub.kicinski@netronome.com> | 2016-11-03 17:12:05 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-11-04 14:56:15 -0400 |
commit | 13df4c666c551bba97618d7e3908c2ecd03ceefb (patch) | |
tree | 53c1dfaa7b7a959317373286a6465291a3ad2d8a /drivers/gpio/gpio-adp5588.c | |
parent | 164d1e9e5d5235c44851e606d01dd699d8bb15d3 (diff) |
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 'drivers/gpio/gpio-adp5588.c')
0 files changed, 0 insertions, 0 deletions