net/tap: fix name
authorPascal Mazon <pascal.mazon@6wind.com>
Thu, 2 Feb 2017 16:17:58 +0000 (17:17 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 10 Feb 2017 11:25:48 +0000 (12:25 +0100)
commit542594d3fb80af6078ecb3e88c29fc8406c00ca7
treeaf81188b6c52afb7dd8287800e545cc65d30a14e
parent8fcd6c2cf118729dd5b2dccadbaa1f3c5bf1de80
net/tap: fix name

dev->data->name contains the device name, e.g. "net_tap0".
dev->data->dev_private->name contains the actual iface name,
e.g. "dtap0".

In any case, the name must to be consistent with the tun_alloc() call in
eth_dev_tap_create().

Signed-off-by: Pascal Mazon <pascal.mazon@6wind.com>
Acked-by: Keith Wiles <keith.wiles@intel.com>
drivers/net/tap/rte_eth_tap.c