mbox series

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

Message ID 20241010092056.298128-1-wei.fang@nxp.com (mailing list archive)
Headers show
Series net: enetc: fix some issues of XDP | expand

Message

Wei Fang Oct. 10, 2024, 9:20 a.m. UTC
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(-)

Comments

patchwork-bot+netdevbpf@kernel.org Oct. 11, 2024, 11:10 p.m. UTC | #1
Hello:

This series was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Thu, 10 Oct 2024 17:20:52 +0800 you wrote:
> 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.
> 
> 
> [...]

Here is the summary with links:
  - [v4,net,1/4] net: enetc: remove xdp_drops statistic from enetc_xdp_drop()
    https://git.kernel.org/netdev/net/c/412950d5746f
  - [v4,net,2/4] net: enetc: block concurrent XDP transmissions during ring reconfiguration
    https://git.kernel.org/netdev/net/c/c728a95ccf2a
  - [v4,net,3/4] net: enetc: disable Tx BD rings after they are empty
    https://git.kernel.org/netdev/net/c/0a93f2ca4be6
  - [v4,net,4/4] net: enetc: disable NAPI after all rings are disabled
    https://git.kernel.org/netdev/net/c/6b58fadd44aa

You are awesome, thank you!