Re: [PATCH net-next v4 3/5] net: devmem: use niov_shift in net_devmem_get_niov_at()

From: Breno Leitao

Date: Fri Nov 13 2026 - 07:23:30 EST


On Wed, Nov 11, 2026 at 02:47:38PM -0800, Stanislav Fomichev wrote:
> TX bindings use PAGE_SIZE net_iovs, and the TX lookup hard-codes it.
> Derive the index and offset from binding->niov_shift instead, so TX
> bindings can use larger net_iovs. No functional change, TX bindings are
> still created with PAGE_SHIFT.
>
> Signed-off-by: Stanislav Fomichev <sdf@xxxxxxxxxxx>
> Reviewed-by: Mina Almasry <almasrymina@xxxxxxxxxx>
> Reviewed-by: Dragos Tatulea <dtatulea@xxxxxxxxxx>

Reviewed-by: Breno Leitao <leitao@xxxxxxxxxx>