diff options
author | 2021-01-18 16:13:10 +0100 | |
---|---|---|
committer | 2021-02-12 10:13:15 -0800 | |
commit | d06e2f05b4f18c463b6793d75e08ef003ee4efbd (patch) | |
tree | d19e66e39c7a3ade635a821d2f567c710391068e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | i40e: drop misleading function comments (diff) | |
download | wireguard-linux-d06e2f05b4f18c463b6793d75e08ef003ee4efbd.tar.xz wireguard-linux-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 <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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions