b3509fa365
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>
25 lines
617 B
C
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_ */
|