DPDK
22.11.7
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
_
c
g
r
Variables
a
c
d
e
l
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
lib
node
rte_node_eth_api.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: BSD-3-Clause
2
* Copyright(C) 2020 Marvell International Ltd.
3
*/
4
5
#ifndef __INCLUDE_RTE_NODE_ETH_API_H__
6
#define __INCLUDE_RTE_NODE_ETH_API_H__
7
20
#ifdef __cplusplus
21
extern
"C"
{
22
#endif
23
24
#include <rte_compat.h>
25
#include <
rte_common.h
>
26
#include <
rte_mempool.h
>
27
31
struct
rte_node_ethdev_config
{
32
uint16_t
port_id
;
34
uint16_t
num_rx_queues
;
36
uint16_t
num_tx_queues
;
38
struct
rte_mempool
**
mp
;
40
uint16_t
mp_count
;
42
};
43
59
__rte_experimental
60
int
rte_node_eth_config
(
struct
rte_node_ethdev_config
*cfg,
61
uint16_t cnt, uint16_t nb_graphs);
62
#ifdef __cplusplus
63
}
64
#endif
65
66
#endif
/* __INCLUDE_RTE_NODE_ETH_API_H__ */
rte_common.h
rte_mempool.h
rte_node_eth_config
__rte_experimental int rte_node_eth_config(struct rte_node_ethdev_config *cfg, uint16_t cnt, uint16_t nb_graphs)
rte_mempool
Definition:
rte_mempool.h:219
rte_node_ethdev_config
Definition:
rte_node_eth_api.h:31
rte_node_ethdev_config::num_tx_queues
uint16_t num_tx_queues
Definition:
rte_node_eth_api.h:36
rte_node_ethdev_config::port_id
uint16_t port_id
Definition:
rte_node_eth_api.h:32
rte_node_ethdev_config::mp_count
uint16_t mp_count
Definition:
rte_node_eth_api.h:40
rte_node_ethdev_config::num_rx_queues
uint16_t num_rx_queues
Definition:
rte_node_eth_api.h:34
rte_node_ethdev_config::mp
struct rte_mempool ** mp
Definition:
rte_node_eth_api.h:38
Generated by
1.9.4