diff options
| author | 2016-11-03 17:12:05 +0000 | |
|---|---|---|
| committer | 2016-11-04 14:56:15 -0400 | |
| commit | 13df4c666c551bba97618d7e3908c2ecd03ceefb (patch) | |
| tree | 53c1dfaa7b7a959317373286a6465291a3ad2d8a /include | |
| parent | nfp: add support for ethtool .set_channels (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 'include')
0 files changed, 0 insertions, 0 deletions
