Re: [PATCH net] NTB: ntb_netdev: Preserve RX queue depth on allocation failure
| Newsgroups | dev.linux.lists.ntb,org.kernel.vger.linux-kernel,org.kernel.vger.netdev |
|---|---|
| Message-ID | <178644000589.433486.12965345737157483071.git-patchwork-notify@kernel.org> |
Hello: This patch was applied to netdev/net.git (main) by Paolo Abeni <[email protected]>: On Thu, 6 Aug 2026 12:25:37 +0900 you wrote: > ntb_netdev_rx_handler() hands the received skb to the network stack > before allocating its replacement. If the allocation fails, nothing is > reposted. Every failure therefore takes one buffer out of the RX queue > while the interface remains up, and enough failures eventually stall > reception. > > A retry path could refill the queue later, but ntb_netdev has none. > Allocate the replacement first instead. If that fails, drop the packet > and repost the same skb. This keeps the queue full and lets packet > delivery resume as soon as memory is available again. > > [...] Here is the summary with links: - [net] NTB: ntb_netdev: Preserve RX queue depth on allocation failure https://git.kernel.org/netdev/net/c/d2121faf133a You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html