DPDK
21.02.0
Main Page
Related Pages
Data Structures
Files
Examples
File List
Globals
drivers
event
dlb
rte_pmd_dlb.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: BSD-3-Clause
2
* Copyright(c) 2019-2020 Intel Corporation
3
*/
4
12
#ifndef _RTE_PMD_DLB_H_
13
#define _RTE_PMD_DLB_H_
14
15
#ifdef __cplusplus
16
extern
"C"
{
17
#endif
18
19
#include <stdint.h>
20
27
enum
dlb_token_pop_mode
{
28
/* Pop the CQ tokens immediately after dequeueing. */
29
AUTO_POP,
30
/* Pop CQ tokens after (dequeue_depth - 1) events are released.
31
* Supported on load-balanced ports only.
32
*/
33
DELAYED_POP,
34
/* Pop the CQ tokens during next dequeue operation. */
35
DEFERRED_POP,
36
37
/* NUM_TOKEN_POP_MODES must be last */
38
NUM_TOKEN_POP_MODES
39
};
40
68
__rte_experimental
69
int
70
rte_pmd_dlb_set_token_pop_mode
(uint8_t dev_id,
71
uint8_t port_id,
72
enum
dlb_token_pop_mode
mode);
73
#ifdef __cplusplus
74
}
75
#endif
76
77
#endif
/* _RTE_PMD_DLB_H_ */
dlb_token_pop_mode
dlb_token_pop_mode
Definition:
rte_pmd_dlb.h:27
rte_pmd_dlb_set_token_pop_mode
__rte_experimental int rte_pmd_dlb_set_token_pop_mode(uint8_t dev_id, uint8_t port_id, enum dlb_token_pop_mode mode)
Generated by
1.8.9.1