2019-06-25 11:12:58 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
# Copyright(c) 2017 Intel Corporation
|
|
|
|
|
|
|
|
cflags += ['-DRTE_LIBRTE_IXGBE_BYPASS']
|
|
|
|
|
|
|
|
subdir('base')
|
|
|
|
objs = [base_objs]
|
|
|
|
|
|
|
|
sources = files(
|
2022-09-06 04:00:10 +00:00
|
|
|
'ixgbe_82599_bypass.c',
|
|
|
|
'ixgbe_bypass.c',
|
|
|
|
'ixgbe_ethdev.c',
|
|
|
|
'ixgbe_fdir.c',
|
|
|
|
'ixgbe_flow.c',
|
|
|
|
'ixgbe_ipsec.c',
|
|
|
|
'ixgbe_pf.c',
|
|
|
|
'ixgbe_rxtx.c',
|
|
|
|
'ixgbe_tm.c',
|
|
|
|
'ixgbe_vf_representor.c',
|
|
|
|
'rte_pmd_ixgbe.c',
|
2019-06-25 11:12:58 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
deps += ['hash', 'security']
|
|
|
|
|
|
|
|
if arch_subdir == 'x86'
|
2022-09-06 04:00:10 +00:00
|
|
|
sources += files('ixgbe_rxtx_vec_sse.c')
|
|
|
|
if is_windows and cc.get_id() != 'clang'
|
|
|
|
cflags += ['-fno-asynchronous-unwind-tables']
|
|
|
|
endif
|
2021-02-05 08:48:47 +00:00
|
|
|
elif arch_subdir == 'arm'
|
2022-09-06 04:00:10 +00:00
|
|
|
sources += files('ixgbe_rxtx_vec_neon.c')
|
2019-06-25 11:12:58 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
includes += include_directories('base')
|
|
|
|
|
2021-02-05 08:48:47 +00:00
|
|
|
headers = files('rte_pmd_ixgbe.h')
|