public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 net 0/8] net: enetc: fix some known issues
@ 2025-02-24 11:12 Wei Fang
  2025-02-24 11:12 ` [PATCH v3 net 1/8] net: enetc: fix the off-by-one issue in enetc_map_tx_buffs() Wei Fang
                   ` (8 more replies)
  0 siblings, 9 replies; 16+ messages in thread
From: Wei Fang @ 2025-02-24 11:12 UTC (permalink / raw)
  To: claudiu.manoil, vladimir.oltean, xiaoning.wang, andrew+netdev,
	davem, edumazet, kuba, pabeni
  Cc: ioana.ciornei, yangbo.lu, michal.swiatkowski, netdev,
	linux-kernel, imx, stable

There are some issues with the enetc driver, some of which are specific
to the LS1028A platform, and some of which were introduced recently when
i.MX95 ENETC support was added, so this patch set aims to clean up those
issues.

---
v1 link: https://lore.kernel.org/imx/20250217093906.506214-1-wei.fang@nxp.com/
v2 changes:
1. Remove the unneeded semicolon from patch 1
2. Modify the commit message of patch 1
3. Add new patch 9 to fix another off-by-one issue

v2 link: https://lore.kernel.org/imx/20250219054247.733243-1-wei.fang@nxp.com/
v3 changes:
1. remove the patch "net: enetc: correct the EMDIO base offset for ENETC v4"
2. Add a helper function enetc_unwind_tx_frame()
3. Change the subject of patch 2, and refactor the implementation.
4. Use enetc_unwind_tx_frame() in patch 8, and roll back 'i' when
   enetc_map_tx_tso_data() returns an error
5. Collect Reviewed-by and Tested-by tags
---

Wei Fang (8):
  net: enetc: fix the off-by-one issue in enetc_map_tx_buffs()
  net: enetc: keep track of correct Tx BD count in
    enetc_map_tx_tso_buffs()
  net: enetc: correct the xdp_tx statistics
  net: enetc: VFs do not support HWTSTAMP_TX_ONESTEP_SYNC
  net: enetc: update UDP checksum when updating originTimestamp field
  net: enetc: add missing enetc4_link_deinit()
  net: enetc: remove the mm_lock from the ENETC v4 driver
  net: enetc: fix the off-by-one issue in enetc_map_tx_tso_buffs()

 drivers/net/ethernet/freescale/enetc/enetc.c  | 103 +++++++++++++-----
 .../net/ethernet/freescale/enetc/enetc4_pf.c  |   2 +-
 .../ethernet/freescale/enetc/enetc_ethtool.c  |   7 +-
 3 files changed, 80 insertions(+), 32 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2025-02-26  3:20 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-24 11:12 [PATCH v3 net 0/8] net: enetc: fix some known issues Wei Fang
2025-02-24 11:12 ` [PATCH v3 net 1/8] net: enetc: fix the off-by-one issue in enetc_map_tx_buffs() Wei Fang
2025-02-24 16:43   ` Vladimir Oltean
2025-02-24 17:24   ` Claudiu Manoil
2025-02-24 11:12 ` [PATCH v3 net 2/8] net: enetc: keep track of correct Tx BD count in enetc_map_tx_tso_buffs() Wei Fang
2025-02-24 16:44   ` Vladimir Oltean
2025-02-24 17:27   ` Claudiu Manoil
2025-02-24 11:12 ` [PATCH v3 net 3/8] net: enetc: correct the xdp_tx statistics Wei Fang
2025-02-24 11:12 ` [PATCH v3 net 4/8] net: enetc: VFs do not support HWTSTAMP_TX_ONESTEP_SYNC Wei Fang
2025-02-24 11:12 ` [PATCH v3 net 5/8] net: enetc: update UDP checksum when updating originTimestamp field Wei Fang
2025-02-24 11:12 ` [PATCH v3 net 6/8] net: enetc: add missing enetc4_link_deinit() Wei Fang
2025-02-24 11:12 ` [PATCH v3 net 7/8] net: enetc: remove the mm_lock from the ENETC v4 driver Wei Fang
2025-02-24 11:12 ` [PATCH v3 net 8/8] net: enetc: fix the off-by-one issue in enetc_map_tx_tso_buffs() Wei Fang
2025-02-24 16:47   ` Vladimir Oltean
2025-02-24 17:37   ` Claudiu Manoil
2025-02-26  3:20 ` [PATCH v3 net 0/8] net: enetc: fix some known issues patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox