[dpdk-dev] [PATCH 1/6] net/tap: use correct tap name

Wiles, Keith keith.wiles at intel.com
Thu Feb 2 14:46:17 CET 2017


> On Jan 31, 2017, at 3:42 AM, Pascal Mazon <pascal.mazon at 6wind.com> wrote:
> 
> dev->data->name contains "net_tap", the device driver name.
> dev->data->dev_private->name contains the actual iface name,
> e.g. "dtap0".
> 
> In tun_alloc() especially, we want to use the latter. Otherwise the
> netdevice would be wrongly named "net_tap". Furthermore, creating
> several tap vdev would point to the same netdevice.
> 
> In any case, it must to be consistent with the tun_alloc() call in
> eth_dev_tap_create().
> 
> Signed-off-by: Pascal Mazon <pascal.mazon at 6wind.com>
>
Acked by Keith Wiles <keith.wiles at intel.com> for the series 1-6

Regards,
Keith



More information about the dev mailing list