DPDK  20.08.0
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_common.h>
25 #include <rte_mempool.h>
26 
31  uint16_t port_id;
33  uint16_t num_rx_queues;
35  uint16_t num_tx_queues;
37  struct rte_mempool **mp;
39  uint16_t mp_count;
41 };
42 
58 __rte_experimental
60  uint16_t cnt, uint16_t nb_graphs);
61 #ifdef __cplusplus
62 }
63 #endif
64 
65 #endif /* __INCLUDE_RTE_NODE_ETH_API_H__ */
struct rte_mempool ** mp
__rte_experimental int rte_node_eth_config(struct rte_node_ethdev_config *cfg, uint16_t cnt, uint16_t nb_graphs)