DPDK 25.03.0-rc0
rte_member_sketch_avx512.h
1/* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2020 Intel Corporation
3 */
4
5#ifndef RTE_MEMBER_SKETCH_AVX512_H
6#define RTE_MEMBER_SKETCH_AVX512_H
7
8#include <rte_vect.h>
9#include "rte_member.h"
10#include "rte_member_sketch.h"
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
16#define NUM_ROW_VEC 8
17
18void
19sketch_update_avx512(const struct rte_member_setsum *ss,
20 const void *key,
21 uint32_t count);
22
23uint64_t
24sketch_lookup_avx512(const struct rte_member_setsum *ss,
25 const void *key);
26
27void
28sketch_delete_avx512(const struct rte_member_setsum *ss,
29 const void *key);
30
31#ifdef __cplusplus
32}
33#endif
34
35#endif /* RTE_MEMBER_SKETCH_AVX512_H */