Re: [PATCH net-next v6 7/8] net: check for driver support in netmem TX

From
Jakub Kicinski <kuba@kernel.org>
Date
2025-03-01 00:43:03
Also in
kvm, linux-doc, linux-kselftest, lkml, virtualization
Reply to
Mina Almasry, 2025-02-27
On Thu, 27 Feb 2025 04:12:08 +0000 Mina Almasry wrote:
+	if (!skb_frags_readable(skb) && !dev->netmem_tx)
How do you know it's for _this_ device tho?
The driver doesn't seem to check the DMA mapping belongs to it either.

Remind me, how do we prevent the unreadable skbs from getting into the
Tx path today? 
Thread (25 messages) 25 messages, 6 authors, last reply 2025-03-06
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help