net/tap: fix vdev data sharing for tun
authorVipin Varghese <vipin.varghese@intel.com>
Tue, 22 May 2018 11:01:54 +0000 (16:31 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 22 May 2018 22:35:01 +0000 (00:35 +0200)
commitd8dc42fab62b96a6fe55087d7b9c091603ae17c3
tree7a0d007e02a5ea132647182a2fe78a759a8489d5
parentd1883bf1de0778b5443b5d42a81adb8908b99088
net/tap: fix vdev data sharing for tun

Enables TUN PMD sharing by attaching the port from the shared data.

Fixes: ee27edbe0c10 ("drivers/net: share vdev data to secondary process")

Signed-off-by: Vipin Varghese <vipin.varghese@intel.com>
Acked-by: Keith Wiles <keith.wiles@intel.com>
drivers/net/tap/rte_eth_tap.c