DPDK 25.03.0-rc0
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
19#include <rte_compat.h>
20#include <rte_common.h>
21#include <rte_graph.h>
22#include <rte_mempool.h>
23
24#ifdef __cplusplus
25extern "C" {
26#endif
27
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
60 uint16_t cnt, uint16_t nb_graphs);
61
75__rte_experimental
76int rte_node_ethdev_rx_next_update(rte_node_t id, const char *edge_name);
77
78#ifdef __cplusplus
79}
80#endif
81
82#endif /* __INCLUDE_RTE_NODE_ETH_API_H__ */
uint32_t rte_node_t
Definition: rte_graph.h:41
__rte_experimental int rte_node_ethdev_rx_next_update(rte_node_t id, const char *edge_name)
int rte_node_eth_config(struct rte_node_ethdev_config *cfg, uint16_t cnt, uint16_t nb_graphs)
struct rte_mempool ** mp