Home
last modified time | relevance | path

Searched refs:key2 (Results 1 – 9 of 9) sorted by relevance

/dpdk/lib/hash/
H A Drte_cmp_x86.h9 rte_hash_k16_cmp_eq(const void *key1, const void *key2, size_t key_len __rte_unused) in rte_hash_k16_cmp_eq() argument
12 const __m128i k2 = _mm_loadu_si128((const __m128i *) key2); in rte_hash_k16_cmp_eq()
19 rte_hash_k32_cmp_eq(const void *key1, const void *key2, size_t key_len) in rte_hash_k32_cmp_eq() argument
21 return rte_hash_k16_cmp_eq(key1, key2, key_len) || in rte_hash_k32_cmp_eq()
23 (const char *) key2 + 16, key_len); in rte_hash_k32_cmp_eq()
27 rte_hash_k48_cmp_eq(const void *key1, const void *key2, size_t key_len) in rte_hash_k48_cmp_eq() argument
29 return rte_hash_k16_cmp_eq(key1, key2, key_len) || in rte_hash_k48_cmp_eq()
31 (const char *) key2 + 16, key_len) || in rte_hash_k48_cmp_eq()
33 (const char *) key2 + 32, key_len); in rte_hash_k48_cmp_eq()
37 rte_hash_k64_cmp_eq(const void *key1, const void *key2, size_t key_len) in rte_hash_k64_cmp_eq() argument
[all …]
H A Drte_cmp_arm64.h7 rte_hash_k16_cmp_eq(const void *key1, const void *key2, in rte_hash_k16_cmp_eq() argument
20 : [p2]"r"(key2) in rte_hash_k16_cmp_eq()
28 rte_hash_k32_cmp_eq(const void *key1, const void *key2, size_t key_len) in rte_hash_k32_cmp_eq() argument
30 return rte_hash_k16_cmp_eq(key1, key2, key_len) || in rte_hash_k32_cmp_eq()
32 (const char *) key2 + 16, key_len); in rte_hash_k32_cmp_eq()
36 rte_hash_k48_cmp_eq(const void *key1, const void *key2, size_t key_len) in rte_hash_k48_cmp_eq() argument
38 return rte_hash_k16_cmp_eq(key1, key2, key_len) || in rte_hash_k48_cmp_eq()
40 (const char *) key2 + 16, key_len) || in rte_hash_k48_cmp_eq()
42 (const char *) key2 + 32, key_len); in rte_hash_k48_cmp_eq()
46 rte_hash_k64_cmp_eq(const void *key1, const void *key2, size_t key_len) in rte_hash_k64_cmp_eq() argument
[all …]
H A Drte_hash.h69 typedef int (*rte_hash_cmp_eq_t)(const void *key1, const void *key2, size_t key_len);
H A Drte_cuckoo_hash.c118 rte_hash_cmp_eq(const void *key1, const void *key2, const struct rte_hash *h) in rte_hash_cmp_eq() argument
121 return h->rte_hash_custom_cmp_eq(key1, key2, h->key_len); in rte_hash_cmp_eq()
123 return cmp_jump_table[h->cmp_jump_table_idx](key1, key2, h->key_len); in rte_hash_cmp_eq()
/dpdk/lib/table/
H A Drte_swx_keycmp.c9 keycmp_generic(void *key1, void *key2, uint32_t key_size) in keycmp_generic() argument
11 return memcmp(key1, key2, key_size) ? 0 : 1; in keycmp_generic()
16 keycmp##N(void *key1, void *key2, uint32_t key_size __rte_unused) \
18 return memcmp(key1, key2, N) ? 0 : 1; \
H A Drte_swx_keycmp.h24 * @param[in] key2
32 (*rte_swx_keycmp_func_t)(void *key1, void *key2, uint32_t key_size);
/dpdk/examples/l3fwd/
H A Dl3fwd_em.c336 union ipv4_5tuple_host *key2) in convert_ipv4_5tuple() argument
338 key2->ip_dst = rte_cpu_to_be_32(key1->ip_dst); in convert_ipv4_5tuple()
339 key2->ip_src = rte_cpu_to_be_32(key1->ip_src); in convert_ipv4_5tuple()
340 key2->port_dst = rte_cpu_to_be_16(key1->port_dst); in convert_ipv4_5tuple()
341 key2->port_src = rte_cpu_to_be_16(key1->port_src); in convert_ipv4_5tuple()
342 key2->proto = key1->proto; in convert_ipv4_5tuple()
343 key2->pad0 = 0; in convert_ipv4_5tuple()
344 key2->pad1 = 0; in convert_ipv4_5tuple()
349 union ipv6_5tuple_host *key2) in convert_ipv6_5tuple() argument
354 key2 in convert_ipv6_5tuple()
[all...]
/dpdk/app/test/
H A Dtest_efd_perf.c115 static int key_compare(const void *key1, const void *key2) in key_compare() argument
117 return memcmp(key1, key2, MAX_KEYSIZE); in key_compare()
H A Dtest_member_perf.c129 static int key_compare(const void *key1, const void *key2) in key_compare() argument
131 return memcmp(key1, key2, MAX_KEYSIZE); in key_compare()