app/testpmd: use new ethernet address parser
authorStephen Hemminger <stephen@networkplumber.org>
Fri, 5 Jul 2019 17:16:22 +0000 (10:16 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 8 Jul 2019 19:26:52 +0000 (21:26 +0200)
commitb5ddce8959b203020bc536e19cebe6b3cc9fa6a1
tree5065b66f9c385923a110965cbe78f38d604c67ff
parent1c774fe44c41607b7f1b5bfc014f2185e2c4a7f1
app/testpmd: use new ethernet address parser

The cmdline_parse_ether_addr does not need to be used everywhere
in testpmd. Can use rte_ether_unformat_addr instead.
As an added bonus it eliminates some code for copying.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Bernard Iremonger <bernard.iremonger@intel.com>
app/test-pmd/cmdline_flow.c
app/test-pmd/config.c
app/test-pmd/parameters.c