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

Wei Fang posted 4 patches 1 month, 2 weeks ago
drivers/net/ethernet/freescale/enetc/enetc.c | 56 +++++++++++++++-----
drivers/net/ethernet/freescale/enetc/enetc.h |  1 +
2 files changed, 44 insertions(+), 13 deletions(-)
[PATCH v4 net 0/4] net: enetc: fix some issues of XDP
Posted by Wei Fang 1 month, 2 weeks ago
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/20240919084104.661180-1-wei.fang@nxp.com/T/
v2 link: https://lore.kernel.org/netdev/20241008224806.2onzkt3gbslw5jxb@skbuf/T/
v3 link: https://lore.kernel.org/imx/20241009090327.146461-1-wei.fang@nxp.com/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(-)

-- 
2.34.1