numam-dpdk/drivers/net/thunderx/meson.build
Gavin Hu 52c8620022 net/thunderx: use new API to save cycles on aarch64
Use the new API to wait in low power state instead of continuous
polling to save CPU cycles and power.

Signed-off-by: Gavin Hu <gavin.hu@arm.com>
Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
2020-01-17 12:02:21 +01:00

22 lines
436 B
Meson

# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2017 Cavium, Inc
subdir('base')
objs = [base_objs]
allow_experimental_apis = true
sources = files('nicvf_rxtx.c',
'nicvf_ethdev.c',
'nicvf_svf.c'
)
if cc.has_argument('-fno-prefetch-loop-arrays')
cflags += '-fno-prefetch-loop-arrays'
endif
if cc.has_argument('-Wno-maybe-uninitialized')
cflags += '-Wno-maybe-uninitialized'
endif
includes += include_directories('base')