On Fri, Jul 24, 2026 at 02:21:16PM -0700, Bobby Eshleman wrote:
> From: Bobby Eshleman <[email protected]>
>
> Add -b <bytes> to request a non-default niov size via
> NETDEV_A_DMABUF_RX_PAGE_SIZE. When the value exceeds PAGE_SIZE,
> udmabuf_alloc() switches to an MFD_HUGETLB-backed memfd so each 2 MB
> hugepage produces one naturally-aligned sg entry.
>
> Signed-off-by: Bobby Eshleman <[email protected]>
> Acked-by: Stanislav Fomichev <[email protected]>
> ---
> tools/testing/selftests/drivers/net/hw/ncdevmem.c | 36
> +++++++++++++++++++++--
> 1 file changed, 33 insertions(+), 3 deletions(-)
>
Reviewed-by: Nikolay Aleksandrov <[email protected]>