xref: /dpdk/lib/fib/trie_avx512.h (revision 6cb10a9bdb6d2d0253e4d022f230371d703d8ac2)
199a2dd95SBruce Richardson /* SPDX-License-Identifier: BSD-3-Clause
299a2dd95SBruce Richardson  * Copyright(c) 2020 Intel Corporation
399a2dd95SBruce Richardson  */
499a2dd95SBruce Richardson 
599a2dd95SBruce Richardson #ifndef _TRIE_AVX512_H_
699a2dd95SBruce Richardson #define _TRIE_AVX512_H_
799a2dd95SBruce Richardson 
8*6cb10a9bSRobin Jarry #include <stdint.h>
9*6cb10a9bSRobin Jarry 
10*6cb10a9bSRobin Jarry struct rte_ipv6_addr;
11*6cb10a9bSRobin Jarry 
1299a2dd95SBruce Richardson void
13*6cb10a9bSRobin Jarry rte_trie_vec_lookup_bulk_2b(void *p, const struct rte_ipv6_addr *ips,
1499a2dd95SBruce Richardson 	uint64_t *next_hops, const unsigned int n);
1599a2dd95SBruce Richardson 
1699a2dd95SBruce Richardson void
17*6cb10a9bSRobin Jarry rte_trie_vec_lookup_bulk_4b(void *p, const struct rte_ipv6_addr *ips,
1899a2dd95SBruce Richardson 	uint64_t *next_hops, const unsigned int n);
1999a2dd95SBruce Richardson 
2099a2dd95SBruce Richardson void
21*6cb10a9bSRobin Jarry rte_trie_vec_lookup_bulk_8b(void *p, const struct rte_ipv6_addr *ips,
2299a2dd95SBruce Richardson 	uint64_t *next_hops, const unsigned int n);
2399a2dd95SBruce Richardson 
2499a2dd95SBruce Richardson #endif /* _TRIE_AVX512_H_ */
25