net/tap: allow user MAC to be passed as args
authorVipin Varghese <vipin.varghese@intel.com>
Mon, 12 Mar 2018 21:53:52 +0000 (03:23 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 30 Mar 2018 12:08:43 +0000 (14:08 +0200)
commitbcab6c1d27fa9ec3727660ff01e52627af3a28a6
treefe1c4e452b2e83187a8e246864552dc4abb0d866
parent4e436dda15b122a9f9f8243cef437418d8ec6103
net/tap: allow user MAC to be passed as args

Allow TAP PMD to pass user desired MAC address as argument.
The argument value is processed as string delimited by  ':',
is parsed and converted to HEX MAC address after validation.

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>
doc/guides/nics/tap.rst
drivers/net/tap/rte_eth_tap.c