Re: [PATCH net-next v1 2/4] net: devmem: rename binding dev and vdev to map_dev and bind_dev
From: Dragos Tatulea
Date: Wed Nov 04 2026 - 08:49:27 EST
On 04.11.26 00:26, Mina Almasry wrote:
> struct net_devmem_dmabuf_binding currently tracks two device pointers
> under the names 'dev' and 'vdev':
>
> - 'dev' is the physical net_device whose dma_dev holds the DMA mapping.
> - 'vdev' is the virtual net_device the user bound to when using leased
> queues.
>
> Rename 'dev' to 'map_dev' and 'vdev' to 'bind_dev' (typed as struct
> net_device *), and rename the matching local variable in
> netdev_nl_bind_tx_doit() from 'bind_dev' to 'map_dev' to match. No
> functional change.
>
> Signed-off-by: Mina Almasry <almasrymina@xxxxxxxxxx>
Reviewed-by: Dragos Tatulea <dtatulea@xxxxxxxxxx>
Thanks,
Dragos