diff options
author | Maciej Fijalkowski <maciej.fijalkowski@intel.com> | 2021-01-18 18:13:10 +0300 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2021-02-12 21:13:15 +0300 |
commit | d06e2f05b4f18c463b6793d75e08ef003ee4efbd (patch) | |
tree | d19e66e39c7a3ade635a821d2f567c710391068e /net/switchdev/switchdev.c | |
parent | 4a14994a921e7d1609c8e445b4c304427f2bd584 (diff) | |
download | linux-d06e2f05b4f18c463b6793d75e08ef003ee4efbd.tar.xz |
i40e: adjust i40e_is_non_eop
i40e_is_non_eop had a leftover comment and unused skb argument which was
used for placing the skb onto rx_buf in case when current buffer was
non-eop one. This is not relevant anymore as commit e72e56597ba1
("i40e/i40evf: Moves skb from i40e_rx_buffer to i40e_ring") pulled the
non-complete skb handling out of rx_bufs up to rx_ring. Therefore,
let's adjust the function arguments that i40e_is_non_eop takes.
Furthermore, since there is already a function responsible for bumping
the ntc, make use of that and drop that logic from i40e_is_non_eop so
that the scope of this function is limited to what the name actually
states.
Reviewed-by: Björn Töpel <bjorn.topel@intel.com>
Signed-off-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Tested-by: Tony Brelinski <tonyx.brelinski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions