DPDK
19.11.14
Main Page
Related Pages
+
Data Structures
Data Structures
+
Data Fields
+
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
+
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Files
File List
+
Globals
+
All
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
+
Functions
_
c
g
p
r
s
t
+
Variables
b
c
m
r
+
Typedefs
a
c
d
e
h
l
m
p
r
s
u
+
Enumerations
r
+
Enumerator
c
e
f
i
m
r
s
w
+
Macros
_
b
c
d
e
i
l
m
o
p
r
s
t
u
v
Examples
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
lib
librte_table
rte_table_hash_func_arm64.h
1
/* SPDX-License-Identifier: BSD-3-Clause
2
* Copyright(c) 2017-2018 Linaro Limited
3
*/
4
5
#ifndef __INCLUDE_RTE_TABLE_HASH_FUNC_ARM64_H__
6
#define __INCLUDE_RTE_TABLE_HASH_FUNC_ARM64_H__
7
8
#define _CRC32CX(crc, val) \
9
__asm__("crc32cx %w[c], %w[c], %x[v]":[c] "+r" (crc):[v] "r" (val))
10
11
static
inline
uint64_t
12
rte_crc32_u64(uint64_t crc, uint64_t v)
13
{
14
uint32_t crc32 = crc;
15
16
_CRC32CX(crc32, v);
17
18
return
crc32;
19
}
20
21
#endif
Generated by
1.8.13