mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH V3 net 0/2] hibmcge: fix RX packet corruption issue
@ 2026-05-25 14:45 Jijie Shao
  2026-05-25 14:45 ` [PATCH V3 net 1/2] net: hibmcge: disable Relaxed Ordering to fix RX packet corruption Jijie Shao
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Jijie Shao @ 2026-05-25 14:45 UTC (permalink / raw)
  To: davem, edumazet, kuba, pabeni, andrew+netdev, horms
  Cc: shenjian15, liuyonglong, chenhao418, huangdonghua3,
	yangshuaisong, shiyongbang, netdev, linux-kernel, shaojijie

This series fixes an RX packet corruption issue observed when SMMU is
disabled on the hibmcge driver. The fixes include disabling PCI Relaxed
Ordering and correcting the order of DMA barrier operations in the RX
data sync path.

---
ChangeLog:
v2 -> v3:
  - Use pci_save_state () to ensure that Relaxed Ordering is disabled after the reset,
    suggested Paolo.
  v2: https://lore.kernel.org/all/20260518144253.1568118-2-shaojijie@huawei.com/
v1 -> v2:
  - Split original single patch into two independent patches,
    suggested Jakub
  - Remove MODULE_VERSION change, pointed out by Jakub
  v1: https://lore.kernel.org/all/20260512123456.3786635-1-shaojijie@huawei.com/
---

Jijie Shao (2):
  net: hibmcge: disable Relaxed Ordering to fix RX packet corruption
  net: hibmcge: move dma_rmb() after dma_sync_single_for_cpu() in RX
    path

 drivers/net/ethernet/hisilicon/hibmcge/hbg_main.c | 3 +++
 drivers/net/ethernet/hisilicon/hibmcge/hbg_txrx.c | 6 +++---
 2 files changed, 6 insertions(+), 3 deletions(-)

-- 
2.33.0


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

end of thread, other threads:[~2026-05-28 11:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-25 14:45 [PATCH V3 net 0/2] hibmcge: fix RX packet corruption issue Jijie Shao
2026-05-25 14:45 ` [PATCH V3 net 1/2] net: hibmcge: disable Relaxed Ordering to fix RX packet corruption Jijie Shao
2026-05-25 14:45 ` [PATCH V3 net 2/2] net: hibmcge: move dma_rmb() after dma_sync_single_for_cpu() in RX path Jijie Shao
2026-05-28 11:10 ` [PATCH V3 net 0/2] hibmcge: fix RX packet corruption issue 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

Powered by JetHome