[PATCH net-next v4 0/2] net: stmmac: introduce XDP multi-buff support for TX path
Lorenzo Bianconi
lorenzo.bianconi at oss.qualcomm.com
Thu Oct 1 02:26:11 PDT 2026
Extend stmmac_xdp_xmit_xdpf() to transmit XDP frames with fragments.
Fix TX coalesce race and div-by-zero in XDP/legacy path
---
Changes in v4:
- Add patch 1/2 to fix theoretical division by zero issue in xdp/legacy
tx path.
- Link to v3: https://lore.kernel.org/r/20260925-b4-stmmac-xmit-mb-v3-1-ca08f029e81c@oss.qualcomm.com
Changes in v3:
- Advertise NETDEV_XDP_ACT_NDO_XMIT_SG capability.
- Add missing dma_wmb() before setting OWN bit of the first descriptor.
- Link to v2: https://lore.kernel.org/r/20260924-b4-stmmac-xmit-mb-v2-1-003347b7bc25@oss.qualcomm.com
Changes in v2:
- Fix Tx coalescing logic in stmmac_xdp_xmit_xdpf()
- Consider the max between STMMAC_TX_THRESH() and num_frames as
threshold in stmmac_xdp_xmit_xdpf().
- Link to v1: https://lore.kernel.org/r/20260923-b4-stmmac-xmit-mb-v1-1-a71a1c522142@oss.qualcomm.com
---
Lorenzo Bianconi (2):
net: stmmac: fix TX coalesce race and div-by-zero in XDP/legacy path
net: stmmac: add XDP multi-buff support for TX side
.../net/ethernet/stmicro/stmmac/stmmac_ethtool.c | 11 +-
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 160 +++++++++++++--------
drivers/net/ethernet/stmicro/stmmac/stmmac_xdp.c | 2 +-
3 files changed, 107 insertions(+), 66 deletions(-)
---
base-commit: ea3b2f0356c2f33022c10dc7ad3fd02bf4aa517c
change-id: 20260922-b4-stmmac-xmit-mb-bb78e0684cf4
Best regards,
--
Lorenzo Bianconi <lorenzo.bianconi at oss.qualcomm.com>
More information about the linux-arm-kernel
mailing list