2fced8a1c1
This patch implements regular port statistics and queue mapping set api to get queue statistics Signed-off-by: Satha Rao <skoteshwar@marvell.com>
51 lines
1.1 KiB
Meson
51 lines
1.1 KiB
Meson
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright(C) 2021 Marvell.
|
|
#
|
|
|
|
if not dpdk_conf.get('RTE_ARCH_64')
|
|
build = false
|
|
reason = 'only supported on 64-bit'
|
|
subdir_done()
|
|
endif
|
|
|
|
sources = files(
|
|
'cnxk_ethdev.c',
|
|
'cnxk_ethdev_devargs.c',
|
|
'cnxk_ethdev_ops.c',
|
|
'cnxk_link.c',
|
|
'cnxk_lookup.c',
|
|
'cnxk_stats.c',
|
|
)
|
|
|
|
# CN9K
|
|
sources += files(
|
|
'cn9k_ethdev.c',
|
|
'cn9k_rx.c',
|
|
'cn9k_rx_mseg.c',
|
|
'cn9k_rx_vec.c',
|
|
'cn9k_tx.c',
|
|
'cn9k_tx_mseg.c',
|
|
'cn9k_tx_vec.c',
|
|
)
|
|
# CN10K
|
|
sources += files(
|
|
'cn10k_ethdev.c',
|
|
'cn10k_rx.c',
|
|
'cn10k_rx_mseg.c',
|
|
'cn10k_rx_vec.c',
|
|
'cn10k_tx.c',
|
|
'cn10k_tx_mseg.c',
|
|
'cn10k_tx_vec.c',
|
|
)
|
|
|
|
deps += ['bus_pci', 'cryptodev', 'eventdev', 'security']
|
|
deps += ['common_cnxk', 'mempool_cnxk']
|
|
|
|
# Allow implicit vector conversions and strict aliasing warning
|
|
extra_flags = ['-flax-vector-conversions', '-Wno-strict-aliasing']
|
|
foreach flag: extra_flags
|
|
if cc.has_argument(flag)
|
|
cflags += flag
|
|
endif
|
|
endforeach
|