Revision 51a83391d77bb0f7ff0aef06ca4c7f5aa9e80b4c authored by Dimitris Michailidis on 26 July 2022, 21:59:23 UTC, committed by Paolo Abeni on 28 July 2022, 10:54:10 UTC
The current implementation of fun_xdp_tx(), used for XPD_TX, is
incorrect in that it takes an address/length pair and later releases it
with page_frag_free(). It is OK for XDP_TX but the same code is used by
ndo_xdp_xmit. In that case it loses the XDP memory type and releases the
packet incorrectly for some of the types. Assorted breakage follows.

Change fun_xdp_tx() to take xdp_frame and rely on xdp_return_frame() in
reclaim.

Fixes: db37bc177dae ("net/funeth: add the data path")
Signed-off-by: Dimitris Michailidis <dmichail@fungible.com>
Link: https://lore.kernel.org/r/20220726215923.7887-1-dmichail@fungible.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
1 parent bf84719
History
File Mode Size
Kconfig -rw-r--r-- 1.7 KB
Makefile -rw-r--r-- 467 bytes
cppi41.c -rw-r--r-- 30.0 KB
dma-crossbar.c -rw-r--r-- 11.6 KB
edma.c -rw-r--r-- 71.1 KB
k3-psil-am62.c -rw-r--r-- 4.4 KB
k3-psil-am64.c -rw-r--r-- 4.2 KB
k3-psil-am654.c -rw-r--r-- 4.0 KB
k3-psil-j7200.c -rw-r--r-- 4.0 KB
k3-psil-j721e.c -rw-r--r-- 6.8 KB
k3-psil-j721s2.c -rw-r--r-- 3.9 KB
k3-psil-priv.h -rw-r--r-- 1.3 KB
k3-psil.c -rw-r--r-- 2.6 KB
k3-udma-glue.c -rw-r--r-- 39.3 KB
k3-udma-private.c -rw-r--r-- 4.4 KB
k3-udma.c -rw-r--r-- 140.0 KB
k3-udma.h -rw-r--r-- 5.5 KB
omap-dma.c -rw-r--r-- 47.1 KB

back to top