ethdev: support MAC address as iterator filter
authorThomas Monjalon <thomas@monjalon.net>
Mon, 22 Oct 2018 13:15:30 +0000 (15:15 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 26 Oct 2018 20:14:06 +0000 (22:14 +0200)
commitc10cdce180a6ac535dc420376f115ca4ac44aead
tree42b5fd30a07a999cf7c5cb69fa263940afec268e
parenta7d3c6271d558e881e3ba1304e9f8683aca944e4
ethdev: support MAC address as iterator filter

The MAC addresses of a port can be matched with devargs.

As the conflict between rte_ether.h and netinet/ether.h is not resolved,
the MAC parsing is done with a rte_cmdline function.
As a result, cmdline library becomes a dependency of ethdev.

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Andrew Rybchenko <arybchenko@solarflare.com>
lib/Makefile
lib/librte_cmdline/meson.build
lib/librte_ethdev/Makefile
lib/librte_ethdev/meson.build
lib/librte_ethdev/rte_class_eth.c
lib/meson.build