Re: [PATCH net-next 7/7] selftests: drv-net: devmem: TX from a hugepage-backed dmabuf

From: Mina Almasry

Date: Mon Nov 02 2026 - 22:02:00 EST


On Mon, Nov 2, 2026 at 11:14 AM Stanislav Fomichev <sdf.kernel@xxxxxxxxx> wrote:
>
> TX net_iovs are now sized from the dmabuf layout, but the TX tests
> use a regular memfd, which usually keeps them small. Add -H to ncdevmem
> to back the udmabuf with 2MB hugepages and a TX test which sends a 3MB
> buffer from it, so that frags end at and continue past the 2MB net_iov
> boundary. The payload has a 7 byte period to catch offset errors.
>
> Signed-off-by: Stanislav Fomichev <sdf@xxxxxxxxxxx>

Acked-by: Mina Almasry <almasrymina@xxxxxxxxxx>

--
Thanks,
Mina