DPDK  21.05.0
rte_swx_port_source_sink.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright(c) 2020 Intel Corporation
3  */
4 #ifndef __INCLUDE_RTE_SWX_PORT_SOURCE_SINK_H__
5 #define __INCLUDE_RTE_SWX_PORT_SOURCE_SINK_H__
6 
7 #ifdef __cplusplus
8 extern "C" {
9 #endif
10 
16 #include "rte_swx_port.h"
17 
19 #ifndef RTE_SWX_PORT_SOURCE_PKTS_MAX
20 #define RTE_SWX_PORT_SOURCE_PKTS_MAX 1024
21 #endif
22 
26  struct rte_mempool *pool;
27 
29  const char *file_name;
30 
35  uint32_t n_pkts_max;
36 };
37 
40 
47  const char *file_name;
48 };
49 
52 
53 #ifdef __cplusplus
54 }
55 #endif
56 
57 #endif
struct rte_swx_port_in_ops rte_swx_port_source_ops
struct rte_swx_port_out_ops rte_swx_port_sink_ops