net/tap: add default name to tun
authorVipin Varghese <vipin.varghese@intel.com>
Sat, 12 May 2018 06:21:33 +0000 (11:51 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 14 May 2018 21:32:23 +0000 (22:32 +0100)
commitf5fd98c802e8911513fff217a01d0a61eba86ff1
treeaa2e225ebc4619c9ad83978e7a32316e7799e212
parent2b9919feab751aabf7a8a8d33eb211c7126b9c1b
net/tap: add default name to tun

The change adds default name to reflect TUN PMD instance. if option
name is not passed, the default dtun is taken.

Signed-off-by: Vipin Varghese <vipin.varghese@intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/tap/rte_eth_tap.c