Skip to content

net: enetc: fix some issues of XDP

Wei Fang bpf imx lkml netdev stable 4 versions – Applied

Status from this message: This series was applied to netdev/net.git (main)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest4 patches 3 repliesApplied 4/4
  2. v33 patches 5 repliesSuperseded
  3. v23 patches 5 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v13 patches19 repliesSuperseded

Patches in v4 All 4 applied

#Subject and filesSizeRepliesApplied
1/4net: enetc: remove xdp_drops statistic from enetc_xdp_drop()drivers/net/ethernet/freescale/enetc/enetc.c+1 -10 repliesApplied
2/4net: enetc: block concurrent XDP transmissions during ring reconfigurationdrivers/net/ethernet/freescale/enetc/enetc.c drivers/net/ethernet/freescale/enetc/enetc.h+15 -01 replyApplied
3/4net: enetc: disable Tx BD rings after they are emptydrivers/net/ethernet/freescale/enetc/enetc.c+26 -101 replyApplied
4/4net: enetc: disable NAPI after all rings are disableddrivers/net/ethernet/freescale/enetc/enetc.c+6 -61 replyApplied

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchMaciej FijalkowskiVladimir Oltean
1/4R-b R-b
2/4R-b
3/4R-b
4/4R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 net 0/4] net: enetc: fix some issues of XDP

We found some bugs when testing the XDP function of enetc driver, and these bugs are easy to reproduce. This is not only causes XDP to not work, but also the network cannot be restored after exiting the XDP program. So the patch set is mainly to fix these bugs. For details, please see the commit message of each patch.

---
v1 link: https://lore.kernel.org/bpf/[email protected]/T/
v2 link: https://lore.kernel.org/netdev/20241008224806.2onzkt3gbslw5jxb@skbuf/T/
v3 link: https://lore.kernel.org/imx/[email protected]/T/
---

Wei Fang (4):
net: enetc: remove xdp_drops statistic from enetc_xdp_drop()
net: enetc: block concurrent XDP transmissions during ring
reconfiguration
net: enetc: disable Tx BD rings after they are empty
net: enetc: disable NAPI after all rings are disabled

 drivers/net/ethernet/freescale/enetc/enetc.c | 56 +++++++++++++++-----
 drivers/net/ethernet/freescale/enetc/enetc.h |  1 +
 2 files changed, 44 insertions(+), 13 deletions(-)
Signature · 1 line
2.34.1