summaryrefslogtreecommitdiff
path: root/lib/librte_ethdev/Makefile
diff options
context:
space:
mode:
authorThomas Monjalon <thomas@monjalon.net>2018-10-22 15:15:30 +0200
committerFerruh Yigit <ferruh.yigit@intel.com>2018-10-26 22:14:06 +0200
commitc10cdce180a6ac535dc420376f115ca4ac44aead (patch)
tree42b5fd30a07a999cf7c5cb69fa263940afec268e /lib/librte_ethdev/Makefile
parenta7d3c6271d558e881e3ba1304e9f8683aca944e4 (diff)
downloaddpdk-next-eventdev-c10cdce180a6ac535dc420376f115ca4ac44aead.zip
dpdk-next-eventdev-c10cdce180a6ac535dc420376f115ca4ac44aead.tar.gz
dpdk-next-eventdev-c10cdce180a6ac535dc420376f115ca4ac44aead.tar.xz
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>
Diffstat (limited to 'lib/librte_ethdev/Makefile')
-rw-r--r--lib/librte_ethdev/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/librte_ethdev/Makefile b/lib/librte_ethdev/Makefile
index e27bcd5..3e27ae4 100644
--- a/lib/librte_ethdev/Makefile
+++ b/lib/librte_ethdev/Makefile
@@ -12,7 +12,7 @@ CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
LDLIBS += -lrte_net -lrte_eal -lrte_mempool -lrte_ring
-LDLIBS += -lrte_mbuf -lrte_kvargs
+LDLIBS += -lrte_mbuf -lrte_kvargs -lrte_cmdline
EXPORT_MAP := rte_ethdev_version.map