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

From: Jakub Kicinski
Date: Fri Feb 28 2025 - 19:43:16 EST


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?