DPDK
25.03.0
Toggle main menu visibility
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
_
g
r
t
Variables
c
r
Typedefs
a
c
d
e
h
l
m
p
r
s
t
Enumerations
d
r
Enumerator
c
e
f
r
s
w
Macros
_
b
c
i
l
m
o
p
r
s
t
u
v
Examples
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
lib
eal
include
rte_per_lcore.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: BSD-3-Clause
2
* Copyright(c) 2010-2014 Intel Corporation
3
*/
4
5
#ifndef _RTE_PER_LCORE_H_
6
#define _RTE_PER_LCORE_H_
7
21
#ifdef RTE_TOOLCHAIN_MSVC
22
#define RTE_DEFINE_PER_LCORE(type, name) \
23
__declspec(thread) type per_lcore_##name
24
25
#define RTE_DECLARE_PER_LCORE(type, name) \
26
extern __declspec(thread) type per_lcore_##name
27
#else
33
#define RTE_DEFINE_PER_LCORE(type, name) \
34
__thread type per_lcore_##name
35
39
#define RTE_DECLARE_PER_LCORE(type, name) \
40
extern __thread type per_lcore_##name
41
#endif
42
46
#define RTE_PER_LCORE(name) (per_lcore_##name)
47
48
#endif
/* _RTE_PER_LCORE_H_ */
Generated by
1.9.4