1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2021 Intel Corporation
5 #ifndef __INCLUDE_RTE_SWX_PORT_RING_H__
6 #define __INCLUDE_RTE_SWX_PORT_RING_H__
14 * RTE SWX Ring Input and Output Ports
20 #include "rte_swx_port.h"
22 /** Ring input port (reader) creation parameters. */
23 struct rte_swx_port_ring_reader_params {
24 /** Name of valid RTE ring. */
27 /** Read burst size. */
31 /** Ring_reader operations. */
32 extern struct rte_swx_port_in_ops rte_swx_port_ring_reader_ops;
34 /** Ring output port (writer) creation parameters. */
35 struct rte_swx_port_ring_writer_params {
36 /** Name of valid RTE ring. */
39 /** Read burst size. */
43 /** Ring writer operations. */
44 extern struct rte_swx_port_out_ops rte_swx_port_ring_writer_ops;
50 #endif /* __INCLUDE_RTE_SWX_PORT_RING_H__ */