]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: fec: ERR007885 Workaround for XDP TX path
authorWei Fang <wei.fang@nxp.com>
Fri, 28 Nov 2025 02:59:15 +0000 (10:59 +0800)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 4 Dec 2025 08:54:13 +0000 (09:54 +0100)
commite8e032cd24dda7cceaa27bc2eb627f82843f0466
treec3dec3187159ae2935db875c758d96cb82e6ea2e
parent8f7aa3d3c7323f4ca2768a9e74ebbe359c4f8f88
net: fec: ERR007885 Workaround for XDP TX path

The ERR007885 will lead to a TDAR race condition for mutliQ when the
driver sets TDAR and the UDMA clears TDAR simultaneously or in a small
window (2-4 cycles). And it will cause the udma_tx and udma_tx_arbiter
state machines to hang. Therefore, the commit 53bb20d1faba ("net: fec:
add variable reg_desc_active to speed things up") and the commit
a179aad12bad ("net: fec: ERR007885 Workaround for conventional TX") have
added the workaround to fix the potential issue for the conventional TX
path. Similarly, the XDP TX path should also have the potential hang
issue, so add the workaround for XDP TX path.

Fixes: 6d6b39f180b8 ("net: fec: add initial XDP support")
Signed-off-by: Wei Fang <wei.fang@nxp.com>
Link: https://patch.msgid.link/20251128025915.2486943-1-wei.fang@nxp.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/freescale/fec_main.c