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
21 #include "rte_swx_port.h"
23 /** Ring input port (reader) creation parameters. */
24 struct rte_swx_port_ring_reader_params {
25 /** Name of valid RTE ring. */
28 /** Read burst size. */
32 /** Ring_reader operations. */
33 extern struct rte_swx_port_in_ops rte_swx_port_ring_reader_ops;
35 /** Ring output port (writer) creation parameters. */
36 struct rte_swx_port_ring_writer_params {
37 /** Name of valid RTE ring. */
40 /** Read burst size. */
44 /** Ring writer operations. */
45 extern struct rte_swx_port_out_ops rte_swx_port_ring_writer_ops;
51 #endif /* __INCLUDE_RTE_SWX_PORT_RING_H__ */