Blog
Community
Development
Documentation
CNDP
22.08.0
Toggle main menu visibility
Loading...
Searching...
No Matches
pktdev_tx_priv.h
1
/* SPDX-License-Identifier: BSD-3-Clause
2
* Copyright (c) 2020 Marvell International Ltd.
3
*/
4
#ifndef __INCLUDE_PKTDEV_TX_PRIV_H__
5
#define __INCLUDE_PKTDEV_TX_PRIV_H__
6
7
#ifdef __cplusplus
8
extern
"C"
{
9
#endif
10
11
struct
pktdev_tx_node_ctx;
12
typedef
struct
pktdev_tx_node_ctx pktdev_tx_node_ctx_t;
13
14
enum
pktdev_tx_next_nodes {
15
PKTDEV_TX_NEXT_PKT_DROP,
16
PKTDEV_TX_NEXT_MAX,
17
};
18
24
struct
pktdev_tx_node_ctx {
25
uint16_t port;
26
uint16_t queue;
27
};
28
34
struct
pktdev_tx_node_main {
35
uint32_t nodes[CNE_MAX_ETHPORTS];
36
};
37
46
struct
pktdev_tx_node_main *pktdev_tx_node_data_get(
void
);
47
56
struct
cne_node_register
*pktdev_tx_node_get(
void
);
57
58
#ifdef __cplusplus
59
}
60
#endif
61
62
#endif
/* __INCLUDE_PKTDEV_TX_PRIV_H__ */
cne_node_register
Definition
cne_graph.h:427
lib
usr
clib
nodes
pktdev_tx_priv.h
Generated by
1.18.0