Thomas Monjalon c10cdce180 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>
2018-10-26 22:14:06 +02:00

32 lines
758 B
Meson

# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2017 Intel Corporation
# This library is processed before EAL
includes = [global_inc]
includes += include_directories('../librte_eal/common/include')
version = 2
sources = files('cmdline.c',
'cmdline_cirbuf.c',
'cmdline_parse.c',
'cmdline_parse_etheraddr.c',
'cmdline_parse_ipaddr.c',
'cmdline_parse_num.c',
'cmdline_parse_portlist.c',
'cmdline_parse_string.c',
'cmdline_rdline.c',
'cmdline_socket.c',
'cmdline_vt100.c')
headers = files('cmdline.h',
'cmdline_parse.h',
'cmdline_parse_num.h',
'cmdline_parse_ipaddr.h',
'cmdline_parse_etheraddr.h',
'cmdline_parse_string.h',
'cmdline_rdline.h',
'cmdline_vt100.h',
'cmdline_socket.h',
'cmdline_cirbuf.h',
'cmdline_parse_portlist.h')