[PATCH net 0/4] net: ntb_netdev: Fix TX completion and error handling

Koichiro Den <[email protected]>
Newsgroups dev.linux.lists.ntb,org.kernel.vger.linux-kernel,org.kernel.vger.netdev
Message-ID <[email protected]>
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/[email protected]/

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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.