DPDK 26.11.0
rte_eth_ring.h
1/* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2010-2014 Intel Corporation
3 */
4
5#ifndef _RTE_ETH_RING_H_
6#define _RTE_ETH_RING_H_
7
8#include <rte_ring.h>
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
32int rte_eth_from_rings(const char *name,
33 struct rte_ring * const rx_queues[],
34 const unsigned nb_rx_queues,
35 struct rte_ring *const tx_queues[],
36 const unsigned nb_tx_queues,
37 const unsigned numa_node);
38
51int rte_eth_from_ring(struct rte_ring *r);
52
53#ifdef __cplusplus
54}
55#endif
56
57#endif