cmdline: use new ethernet address parser
authorStephen Hemminger <stephen@networkplumber.org>
Fri, 5 Jul 2019 17:16:20 +0000 (10:16 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 8 Jul 2019 19:26:52 +0000 (21:26 +0200)
commit6efc06725fade989675b5051b6e5a623473d0894
tree0fbb89b1ec99a8f4320804c80d32620fcc557ffd
parent7750b036d8196bfdc4f117a84ac4822e8fb03a5b
cmdline: use new ethernet address parser

Now that there is a version of ether_aton in rte_ether, it can
be used by the cmdline ethernet address parser.

Note: ether_aton_r can not be used in cmdline because
the old code would accept either bytes XX:XX:XX:XX:XX:XX
or words XXXX:XXXX:XXXX and we need to keep compatibility.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
lib/Makefile
lib/librte_cmdline/Makefile
lib/librte_cmdline/cmdline_parse_etheraddr.c
lib/librte_cmdline/meson.build
lib/meson.build