Add an implementation of the rte_lpm_lookupx4() function for platforms without support for vector operations. This will be useful in the upcoming RISC-V port as well as any platform which may want to start with a basic level of LPM support. Signed-off-by: Michal Mazurek <maz@semihalf.com> Signed-off-by: Stanislaw Kardach <kda@semihalf.com> Acked-by: Vladimir Medvedkin <vladimir.medvedkin@intel.com>
23 lines
595 B
Meson
23 lines
595 B
Meson
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright(c) 2017 Intel Corporation
|
|
|
|
if is_windows
|
|
build = false
|
|
reason = 'not supported on Windows'
|
|
subdir_done()
|
|
endif
|
|
|
|
sources = files('rte_lpm.c', 'rte_lpm6.c')
|
|
headers = files('rte_lpm.h', 'rte_lpm6.h')
|
|
# since header files have different names, we can install all vector headers
|
|
# without worrying about which architecture we actually need
|
|
indirect_headers += files(
|
|
'rte_lpm_altivec.h',
|
|
'rte_lpm_neon.h',
|
|
'rte_lpm_scalar.h',
|
|
'rte_lpm_sse.h',
|
|
'rte_lpm_sve.h',
|
|
)
|
|
deps += ['hash']
|
|
deps += ['rcu']
|