DPDK
23.07.0
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
n
o
p
r
s
t
u
v
w
+
Functions
_
c
g
r
+
Variables
a
c
d
e
l
n
r
s
+
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
drivers
event
dlb2
rte_pmd_dlb2.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: BSD-3-Clause
2
* Copyright(c) 2020 Intel Corporation
3
*/
4
11
#ifndef _RTE_PMD_DLB2_H_
12
#define _RTE_PMD_DLB2_H_
13
14
#ifdef __cplusplus
15
extern
"C"
{
16
#endif
17
18
#include <stdint.h>
19
20
#include <rte_compat.h>
21
28
enum
dlb2_token_pop_mode
{
29
/* Pop the CQ tokens immediately after dequeuing. */
30
AUTO_POP,
31
/* Pop CQ tokens after (dequeue_depth - 1) events are released.
32
* Supported on load-balanced ports only.
33
*/
34
DELAYED_POP,
35
/* Pop the CQ tokens during next dequeue operation. */
36
DEFERRED_POP,
37
38
/* NUM_TOKEN_POP_MODES must be last */
39
NUM_TOKEN_POP_MODES
40
};
41
64
__rte_experimental
65
int
66
rte_pmd_dlb2_set_token_pop_mode
(uint8_t dev_id,
67
uint8_t port_id,
68
enum
dlb2_token_pop_mode
mode);
69
70
#ifdef __cplusplus
71
}
72
#endif
73
74
#endif
/* _RTE_PMD_DLB2_H_ */
dlb2_token_pop_mode
dlb2_token_pop_mode
Definition:
rte_pmd_dlb2.h:28
rte_pmd_dlb2_set_token_pop_mode
__rte_experimental int rte_pmd_dlb2_set_token_pop_mode(uint8_t dev_id, uint8_t port_id, enum dlb2_token_pop_mode mode)
Generated by
1.8.13