DPDK
21.11.8
lib
port
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
24
struct
rte_swx_port_fd_reader_params
{
26
int
fd
;
27
29
uint32_t
mtu
;
30
32
struct
rte_mempool
*
mempool
;
33
35
uint32_t
burst_size
;
36
};
37
39
extern
struct
rte_swx_port_in_ops
rte_swx_port_fd_reader_ops
;
40
42
struct
rte_swx_port_fd_writer_params
{
44
int
fd
;
45
47
uint32_t
burst_size
;
48
};
49
51
extern
struct
rte_swx_port_out_ops
rte_swx_port_fd_writer_ops
;
52
53
#ifdef __cplusplus
54
}
55
#endif
56
57
#endif
/* __INCLUDE_RTE_SWX_PORT_FD_H__ */
rte_swx_port_out_ops
Definition:
rte_swx_port.h:181
rte_swx_port_fd_writer_params::burst_size
uint32_t burst_size
Definition:
rte_swx_port_fd.h:47
rte_mempool
Definition:
rte_mempool.h:212
rte_swx_port_fd_reader_params::burst_size
uint32_t burst_size
Definition:
rte_swx_port_fd.h:35
rte_mempool.h
rte_swx_port_fd_writer_params::fd
int fd
Definition:
rte_swx_port_fd.h:44
rte_swx_port_fd_reader_params::mempool
struct rte_mempool * mempool
Definition:
rte_swx_port_fd.h:32
rte_swx_port_fd_writer_params
Definition:
rte_swx_port_fd.h:42
rte_swx_port_fd_reader_ops
struct rte_swx_port_in_ops rte_swx_port_fd_reader_ops
rte_swx_port_fd_reader_params::mtu
uint32_t mtu
Definition:
rte_swx_port_fd.h:29
rte_swx_port_fd_reader_params::fd
int fd
Definition:
rte_swx_port_fd.h:26
rte_swx_port.h
rte_swx_port_in_ops
Definition:
rte_swx_port.h:100
rte_swx_port_fd_reader_params
Definition:
rte_swx_port_fd.h:24
rte_swx_port_fd_writer_ops
struct rte_swx_port_out_ops rte_swx_port_fd_writer_ops
Generated by
1.8.13