linux_dsm_epyc7002/drivers/net/ethernet/socionext
Ilias Apalodimas d9496f3ecf net: netsec: Correct dma sync for XDP_TX frames
bpf_xdp_adjust_head() can change the frame boundaries. Account for the
potential shift properly by calculating the new offset before
syncing the buffer to the device for XDP_TX

Fixes: ba2b232108 ("net: netsec: add XDP support")
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-10-17 15:35:56 -04:00
..
Kconfig net: netsec: Use page_pool API 2019-07-01 19:27:08 -07:00
Makefile net: socionext: Add Synquacer NetSec driver 2018-01-10 14:50:29 -05:00
netsec.c net: netsec: Correct dma sync for XDP_TX frames 2019-10-17 15:35:56 -04:00
sni_ave.c net: socionext: ave: Avoid using netdev_err() before calling register_netdev() 2019-09-27 20:26:28 +02:00