All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net 0/4] net: ntb_netdev: Fix TX completion and error handling
@ 2026-08-17  5:35 Koichiro Den
  2026-08-17  5:35 ` [PATCH net 1/4] NTB: ntb_transport: Recycle TX entries before client callbacks Koichiro Den
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Koichiro Den @ 2026-08-17  5:35 UTC (permalink / raw)
  To: Jon Mason, Dave Jiang, Allen Hubbe, Andrew Lunn, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni
  Cc: ntb, netdev, linux-kernel

Hi,

This small series fixes several TX buffer ownership and queue handling
bugs in ntb_netdev and ntb_transport.

Patch 4 first appeared in my "NTB: Add direct TX/RX using PCI endpoint
DMA" series. Sashiko later reported the same pre-existing leak while
reviewing another series, so I moved the fix here. See:
https://lore.kernel.org/r/20260815032932.151F11F000E9@smtp.kernel.org/

The ntb_transport fixes affect buffer ownership and queue handling in
ntb_netdev, the only in-tree ntb_transport_client implementation, so the
patches need to go in together. I am targeting the net tree for the
series.

Dave and other NTB maintainers, I would appreciate your review of the
ntb_transport-specific changes.

Best regards,
Koichiro


Koichiro Den (4):
  NTB: ntb_transport: Recycle TX entries before client callbacks
  net: ntb_netdev: Fix TX busy and drop handling
  NTB: ntb_transport: Fail TX enqueue when the QP link is down
  NTB: ntb_transport: Reject oversized TX buffers

 drivers/net/ntb_netdev.c    | 27 ++++++++++++++++++--------
 drivers/ntb/ntb_transport.c | 38 ++++++++++++++++++-------------------
 2 files changed, 37 insertions(+), 28 deletions(-)

base-commit: 24ef02f934eeb48830cff6b739abc3c62b1d107b
-- 
2.51.0


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

end of thread, other threads:[~2026-08-18  5:35 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-17  5:35 [PATCH net 0/4] net: ntb_netdev: Fix TX completion and error handling Koichiro Den
2026-08-17  5:35 ` [PATCH net 1/4] NTB: ntb_transport: Recycle TX entries before client callbacks Koichiro Den
2026-08-18  5:35   ` sashiko-bot
2026-08-17  5:35 ` [PATCH net 2/4] net: ntb_netdev: Fix TX busy and drop handling Koichiro Den
2026-08-17  5:35 ` [PATCH net 3/4] NTB: ntb_transport: Fail TX enqueue when the QP link is down Koichiro Den
2026-08-18  5:35   ` sashiko-bot
2026-08-17  5:35 ` [PATCH net 4/4] NTB: ntb_transport: Reject oversized TX buffers Koichiro Den
2026-08-18  5:35   ` sashiko-bot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.