netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 net 0/3] net: enetc: fix some issues of XDP
@ 2024-10-09  9:03 Wei Fang
  2024-10-09  9:03 ` [PATCH v3 net 1/3] net: enetc: remove xdp_drops statistic from enetc_xdp_drop() Wei Fang
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Wei Fang @ 2024-10-09  9:03 UTC (permalink / raw)
  To: davem, edumazet, kuba, pabeni, claudiu.manoil, vladimir.oltean,
	ast, daniel, hawk, john.fastabend
  Cc: linux-kernel, netdev, bpf, stable, imx, rkannoth,
	maciej.fijalkowski, sbhatta

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/
---

Wei Fang (3):
  net: enetc: remove xdp_drops statistic from enetc_xdp_drop()
  net: enetc: fix the issues of XDP_REDIRECT feature
  net: enetc: disable IRQ after Rx and Tx BD 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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-10-09 12:56 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-09  9:03 [PATCH v3 net 0/3] net: enetc: fix some issues of XDP Wei Fang
2024-10-09  9:03 ` [PATCH v3 net 1/3] net: enetc: remove xdp_drops statistic from enetc_xdp_drop() Wei Fang
2024-10-09 11:23   ` Vladimir Oltean
2024-10-09  9:03 ` [PATCH v3 net 2/3] net: enetc: fix the issues of XDP_REDIRECT feature Wei Fang
2024-10-09 11:35   ` Vladimir Oltean
2024-10-09 12:52     ` Wei Fang
2024-10-09  9:03 ` [PATCH v3 net 3/3] net: enetc: disable IRQ after Rx and Tx BD rings are disabled Wei Fang
2024-10-09 12:09   ` Vladimir Oltean
2024-10-09 12:56     ` Wei Fang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).