aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKevin Laatz <[email protected]>2019-08-27 02:25:20 +0000
committerDaniel Borkmann <[email protected]>2019-08-31 01:08:26 +0200
commit10912fc9faa1da6cb49996810d55242e82b46896 (patch)
tree35703c22dcf68e1cf967191e79fb31d0d62222db /tools/perf/scripts/python
parent1c6d6e021c452ac15ce034e6762f0477f1cf7f19 (diff)
i40e: simplify Rx buffer recycle
Currently, the dma, addr and handle are modified when we reuse Rx buffers in zero-copy mode. However, this is not required as the inputs to the function are copies, not the original values themselves. As we use the copies within the function, we can use the original 'old_bi' values directly without having to mask and add the headroom. Signed-off-by: Kevin Laatz <[email protected]> Acked-by: Jonathan Lemon <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions