numam-dpdk/lib/librte_fib/dir24_8_avx512.h
Vladimir Medvedkin b3509fa365 fib: add AVX512 lookup
Add new lookup implementation for DIR24_8 algorithm using
AVX512 instruction set

Signed-off-by: Vladimir Medvedkin <vladimir.medvedkin@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
2020-10-28 21:29:11 +01:00

25 lines
617 B
C

/* SPDX-License-Identifier: BSD-3-Clause
* Copyright(c) 2020 Intel Corporation
*/
#ifndef _DIR248_AVX512_H_
#define _DIR248_AVX512_H_
void
rte_dir24_8_vec_lookup_bulk_1b(void *p, const uint32_t *ips,
uint64_t *next_hops, const unsigned int n);
void
rte_dir24_8_vec_lookup_bulk_2b(void *p, const uint32_t *ips,
uint64_t *next_hops, const unsigned int n);
void
rte_dir24_8_vec_lookup_bulk_4b(void *p, const uint32_t *ips,
uint64_t *next_hops, const unsigned int n);
void
rte_dir24_8_vec_lookup_bulk_8b(void *p, const uint32_t *ips,
uint64_t *next_hops, const unsigned int n);
#endif /* _DIR248_AVX512_H_ */