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
Raw File
Makefile
# SPDX-License-Identifier: GPL-2.0
obj-$(CONFIG_DW_DMAC_CORE)	+= dw_dmac_core.o
dw_dmac_core-y			:= core.o dw.o idma32.o
dw_dmac_core-$(CONFIG_ACPI)	+= acpi.o

obj-$(CONFIG_DW_DMAC)		+= dw_dmac.o
dw_dmac-y			:= platform.o
dw_dmac-$(CONFIG_OF)		+= of.o

obj-$(CONFIG_DW_DMAC_PCI)	+= dw_dmac_pci.o
dw_dmac_pci-y			:= pci.o

obj-$(CONFIG_RZN1_DMAMUX)	+= rzn1-dmamux.o
back to top