diff options
| author | Maciej Fijalkowski <[email protected]> | 2021-01-18 15:13:10 +0000 |
|---|---|---|
| committer | Tony Nguyen <[email protected]> | 2021-02-12 18:13:15 +0000 |
| commit | d06e2f05b4f18c463b6793d75e08ef003ee4efbd (patch) | |
| tree | d19e66e39c7a3ade635a821d2f567c710391068e /drivers/net/ethernet/intel/ice/ice_txrx.c | |
| parent | i40e: drop misleading function comments (diff) | |
| download | kernel-d06e2f05b4f18c463b6793d75e08ef003ee4efbd.tar.gz kernel-d06e2f05b4f18c463b6793d75e08ef003ee4efbd.zip | |
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 <[email protected]>
Signed-off-by: Maciej Fijalkowski <[email protected]>
Tested-by: Tony Brelinski <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_txrx.c')
0 files changed, 0 insertions, 0 deletions
