net/tap: support tun
authorVipin Varghese <vipin.varghese@intel.com>
Mon, 2 Apr 2018 21:37:47 +0000 (03:07 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 13 Apr 2018 22:41:44 +0000 (00:41 +0200)
commit204d026a39229751d4dff4eb768b422b42e2aacd
treea09853cbc9ad85d37241dd866b3be5e0d6daec76
parent08df773f3bb4f51ee3264ebc9ab4ce11fc7ddfc8
net/tap: support tun

The change adds functional TUN PMD logic to the existing TAP PMD.
TUN PMD can be initialized with 'net_tunX' where 'X' represents unique id.
PMD supports argument interface, while MAC address and remote are not
supported.

Signed-off-by: Vipin Varghese <vipin.varghese@intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Pascal Mazon <pascal.mazon@6wind.com>
drivers/net/tap/rte_eth_tap.c