Re: [PATCH net 1/2] virtio_net: Don't DMA map the kernel image for the AF_XDP TX header

From: Haishuang Yan

Date: Sun Nov 08 2026 - 04:25:06 EST


On Sun, Nov 08, 2026 at 05:41:15AM +0000, netdev-bot+sashiko@xxxxxxxxxx wrote:
> > and binding an AF_XDP zero-copy socket fails with -ENOMEM. Even where
> > the mapping succeeds, the header shares cache lines with unrelated data.
>
> [Severity: Low]
> Does the second sentence here match what the patch does? It reads as
> though the patch also gives the header its own cache line.

[ ... ]

> Could this sentence be dropped, or reworded so it doesn't suggest the
> patch provides cache-line isolation?

Agreed. The header is only mapped DMA_TO_DEVICE, so the sentence
doesn't describe a real problem, and the patch doesn't change it
anyway. I'll drop it in v2.