DPDK
23.07.0
lib
ethdev
rte_cman.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: BSD-3-Clause
2
* Copyright(C) 2022 Marvell International Ltd.
3
*/
4
5
#ifndef RTE_CMAN_H
6
#define RTE_CMAN_H
7
8
#ifdef __cplusplus
9
extern
"C"
{
10
#endif
11
12
#include <
rte_bitops.h
>
13
20
enum
rte_cman_mode
{
28
RTE_CMAN_RED
=
RTE_BIT32
(0),
29
};
30
34
struct
rte_cman_red_params
{
40
uint8_t
min_th
;
46
uint8_t
max_th
;
48
uint16_t
maxp_inv
;
49
};
50
51
#ifdef __cplusplus
52
}
53
#endif
54
55
#endif
/* RTE_CMAN_H */
rte_cman_red_params::max_th
uint8_t max_th
Definition:
rte_cman.h:46
rte_cman_mode
rte_cman_mode
Definition:
rte_cman.h:20
rte_cman_red_params::min_th
uint8_t min_th
Definition:
rte_cman.h:40
RTE_BIT32
#define RTE_BIT32(nr)
Definition:
rte_bitops.h:38
rte_cman_red_params::maxp_inv
uint16_t maxp_inv
Definition:
rte_cman.h:48
rte_cman_red_params
Definition:
rte_cman.h:34
rte_bitops.h
RTE_CMAN_RED
Definition:
rte_cman.h:28
Generated by
1.8.13