aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMintz, Yuval <[email protected]>2017-04-07 11:04:58 +0300
committerDavid S. Miller <[email protected]>2017-04-07 06:26:14 -0700
commit89e1afc44765d8b9f509d15df096494f14463e17 (patch)
tree460ee4d36a197507a2b7f79da2c90e34db6905cf /tools/perf/scripts/python
parent10a0176e4e6eb6243c4b1c55e50372e03139d592 (diff)
qede: Correct XDP forward unmapping
Driver is currently using dma_unmap_single() with the address it passed to device for the purpose of forwarding, but the XDP transmission buffer was originally a page allocated for the rx-queue. The mapped address is likely to differ from the original mapped address due to the placement offset. This difference is going to get even bigger once we support headroom. Cache the original mapped address of the page, and use it for unmapping of the buffer when completion arrives for the XDP forwarded packet. Signed-off-by: Yuval Mintz <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions