DPDK  21.08.0
rte_swx_port_fd.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright(c) 2021 Intel Corporation
3  */
4 
5 #ifndef __INCLUDE_RTE_SWX_PORT_FD_H__
6 #define __INCLUDE_RTE_SWX_PORT_FD_H__
7 
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11 
17 #include <stdint.h>
18 
19 #include <rte_mempool.h>
20 
21 #include "rte_swx_port.h"
22 
26  int fd;
27 
29  uint32_t mtu;
30 
33 
35  uint32_t burst_size;
36 };
37 
40 
44  int fd;
45 
47  uint32_t burst_size;
48 };
49 
52 
53 #ifdef __cplusplus
54 }
55 #endif
56 
57 #endif /* __INCLUDE_RTE_SWX_PORT_FD_H__ */
struct rte_mempool * mempool
struct rte_swx_port_in_ops rte_swx_port_fd_reader_ops
struct rte_swx_port_out_ops rte_swx_port_fd_writer_ops