Searched hist:"89 e1afc44765d8b9f509d15df096494f14463e17" (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/net/ethernet/qlogic/qede/ |
H A D | qede_fp.c | diff 89e1afc44765d8b9f509d15df096494f14463e17 Fri Apr 07 03:04:58 CDT 2017 Mintz, Yuval <Yuval.Mintz@cavium.com> 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 <Yuval.Mintz@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | qede.h | diff 89e1afc44765d8b9f509d15df096494f14463e17 Fri Apr 07 03:04:58 CDT 2017 Mintz, Yuval <Yuval.Mintz@cavium.com> 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 <Yuval.Mintz@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | qede_main.c | diff 89e1afc44765d8b9f509d15df096494f14463e17 Fri Apr 07 03:04:58 CDT 2017 Mintz, Yuval <Yuval.Mintz@cavium.com> 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 <Yuval.Mintz@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|