Netdev List
 help / color / mirror / Atom feed
* [PATCH net v2 0/4] net: hix5hd2_gmac: fix memory corruption across interface reopen
@ 2026-12-06 11:00 David Yang
  2026-12-06 11:00 ` [PATCH net v2 1/4] net: hix5hd2_gmac: unmap input TX buffers, not returned ones David Yang
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: David Yang @ 2026-12-06 11:00 UTC (permalink / raw)
  To: netdev
  Cc: David Yang, Jian Shen, Jijie Shao, Andrew Lunn, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni, Zhangfei Gao,
	Dongpo Li

Found and verified on a Hi3716cv200 board, where received frames came up
as slab garbage after reopening interface.

The SG path problem is discovered and fixed by LLM but not hardware
verified - TX SG feature is only available on hisi-gmac-v2 while
Hi3716cv200 has v1.

v2:
 - linearize skb if too many frags
 - schedule NAPI once after reopening
v1: https://lore.kernel.org/r/20261126110310.344521-1-mmyangfl@gmail.com

David Yang (4):
  net: hix5hd2_gmac: unmap input TX buffers, not returned ones
  net: hix5hd2_gmac: linearize skb if too many frags
  net: hix5hd2_gmac: release TX SG buffers if using SG
  net: hix5hd2_gmac: keep TX/RX queues alive across a close

 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c | 42 +++++++++++++++----
 1 file changed, 34 insertions(+), 8 deletions(-)

-- 
2.53.0


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

end of thread, other threads:[~2026-12-06 11:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-06 11:00 [PATCH net v2 0/4] net: hix5hd2_gmac: fix memory corruption across interface reopen David Yang
2026-12-06 11:00 ` [PATCH net v2 1/4] net: hix5hd2_gmac: unmap input TX buffers, not returned ones David Yang
2026-12-06 11:00 ` [PATCH net v2 2/4] net: hix5hd2_gmac: linearize skb if too many frags David Yang
2026-12-06 11:00 ` [PATCH net v2 3/4] net: hix5hd2_gmac: release TX SG buffers if using SG David Yang
2026-12-06 11:00 ` [PATCH net v2 4/4] net: hix5hd2_gmac: keep TX/RX queues alive across a close David Yang

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