numam-dpdk/drivers/net/pcap/meson.build
Shijith Thotton b1ae367ab8 drivers: mark SW PMDs to support disabling IOVA as PA
Enabled software PMDs in IOVA as PA disabled build
as they work with IOVA as VA.

Signed-off-by: Shijith Thotton <sthotton@marvell.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
2022-10-09 13:14:57 +02:00

19 lines
419 B
Meson

# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2017 Intel Corporation
if not dpdk_conf.has('RTE_HAS_LIBPCAP')
build = false
reason = 'missing dependency, "libpcap"'
endif
sources = files(
'pcap_ethdev.c',
'pcap_osdep_@0@.c'.format(exec_env),
)
ext_deps += pcap_dep
if is_windows
ext_deps += cc.find_library('iphlpapi', required: true)
endif
pmd_supports_disable_iova_as_pa = true