xref: /dpdk/lib/fib/dir24_8_avx512.h (revision e194f3cd5685d5b16c8561a715395a5f579c1bf3)
199a2dd95SBruce Richardson /* SPDX-License-Identifier: BSD-3-Clause
299a2dd95SBruce Richardson  * Copyright(c) 2020 Intel Corporation
399a2dd95SBruce Richardson  */
499a2dd95SBruce Richardson 
599a2dd95SBruce Richardson #ifndef _DIR248_AVX512_H_
699a2dd95SBruce Richardson #define _DIR248_AVX512_H_
799a2dd95SBruce Richardson 
899a2dd95SBruce Richardson void
999a2dd95SBruce Richardson rte_dir24_8_vec_lookup_bulk_1b(void *p, const uint32_t *ips,
1099a2dd95SBruce Richardson 	uint64_t *next_hops, const unsigned int n);
1199a2dd95SBruce Richardson 
1299a2dd95SBruce Richardson void
1399a2dd95SBruce Richardson rte_dir24_8_vec_lookup_bulk_2b(void *p, const uint32_t *ips,
1499a2dd95SBruce Richardson 	uint64_t *next_hops, const unsigned int n);
1599a2dd95SBruce Richardson 
1699a2dd95SBruce Richardson void
1799a2dd95SBruce Richardson rte_dir24_8_vec_lookup_bulk_4b(void *p, const uint32_t *ips,
1899a2dd95SBruce Richardson 	uint64_t *next_hops, const unsigned int n);
1999a2dd95SBruce Richardson 
2099a2dd95SBruce Richardson void
2199a2dd95SBruce Richardson rte_dir24_8_vec_lookup_bulk_8b(void *p, const uint32_t *ips,
2299a2dd95SBruce Richardson 	uint64_t *next_hops, const unsigned int n);
2399a2dd95SBruce Richardson 
24*e194f3cdSVladimir Medvedkin void
25*e194f3cdSVladimir Medvedkin rte_dir24_8_vec_lookup_bulk_1b_be(void *p, const uint32_t *ips,
26*e194f3cdSVladimir Medvedkin 	uint64_t *next_hops, const unsigned int n);
27*e194f3cdSVladimir Medvedkin 
28*e194f3cdSVladimir Medvedkin void
29*e194f3cdSVladimir Medvedkin rte_dir24_8_vec_lookup_bulk_2b_be(void *p, const uint32_t *ips,
30*e194f3cdSVladimir Medvedkin 	uint64_t *next_hops, const unsigned int n);
31*e194f3cdSVladimir Medvedkin 
32*e194f3cdSVladimir Medvedkin void
33*e194f3cdSVladimir Medvedkin rte_dir24_8_vec_lookup_bulk_4b_be(void *p, const uint32_t *ips,
34*e194f3cdSVladimir Medvedkin 	uint64_t *next_hops, const unsigned int n);
35*e194f3cdSVladimir Medvedkin 
36*e194f3cdSVladimir Medvedkin void
37*e194f3cdSVladimir Medvedkin rte_dir24_8_vec_lookup_bulk_8b_be(void *p, const uint32_t *ips,
38*e194f3cdSVladimir Medvedkin 	uint64_t *next_hops, const unsigned int n);
39*e194f3cdSVladimir Medvedkin 
4099a2dd95SBruce Richardson #endif /* _DIR248_AVX512_H_ */
41