Re: [PATCH 1/6] net/tap: use correct tap name
From: Wiles, Keith <hidden>
Date: 2017-02-02 13:46:21
From: Wiles, Keith <hidden>
Date: 2017-02-02 13:46:21
On Jan 31, 2017, at 3:42 AM, Pascal Mazon [off-list ref] 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 <redacted> —
Acked by Keith Wiles [off-list ref] for the series 1-6 Regards, Keith