summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorShay Agroskin <shayagr@amazon.com>2020-11-23 22:08:59 +0300
committerJakub Kicinski <kuba@kernel.org>2020-11-25 03:07:13 +0300
commit1396d3148bd250db880573f9ed0abe5d6fba1fce (patch)
tree2abd124473db9dc180dffd9d97fd69fd1f091cb5 /tools/perf/scripts/python/export-to-sqlite.py
parent09323b3bca95181c0da79daebc8b0603e500f573 (diff)
downloadlinux-1396d3148bd250db880573f9ed0abe5d6fba1fce.tar.xz
net: ena: fix packet's addresses for rx_offset feature
This patch fixes two lines in which the rx_offset received by the device wasn't taken into account: - prefetch function: In our driver the copied data would reside in rx_info->page + rx_headroom + rx_offset so the prefetch function is changed accordingly. - setting page_offset to zero for descriptors > 1: for every descriptor but the first, the rx_offset is zero. Hence the page_offset value should be set to rx_headroom. The previous implementation changed the value of rx_info after the descriptor was added to the SKB (essentially providing wrong page offset). Fixes: 68f236df93a9 ("net: ena: add support for the rx offset feature") Signed-off-by: Shay Agroskin <shayagr@amazon.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions