DPDK
25.03.0-rc0
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
13
#include <stdint.h>
14
15
#include "
rte_swx_port.h
"
16
17
#ifdef __cplusplus
18
extern
"C"
{
19
#endif
20
22
struct
rte_swx_port_fd_reader_params
{
24
int
fd
;
25
27
uint32_t
mtu
;
28
30
struct
rte_mempool
*
mempool
;
31
33
uint32_t
burst_size
;
34
};
35
37
extern
struct
rte_swx_port_in_ops
rte_swx_port_fd_reader_ops
;
38
40
struct
rte_swx_port_fd_writer_params
{
42
int
fd
;
43
45
uint32_t
burst_size
;
46
};
47
49
extern
struct
rte_swx_port_out_ops
rte_swx_port_fd_writer_ops
;
50
51
#ifdef __cplusplus
52
}
53
#endif
54
55
#endif
/* __INCLUDE_RTE_SWX_PORT_FD_H__ */
rte_swx_port.h
rte_swx_port_fd_writer_ops
struct rte_swx_port_out_ops rte_swx_port_fd_writer_ops
rte_swx_port_fd_reader_ops
struct rte_swx_port_in_ops rte_swx_port_fd_reader_ops
rte_mempool
Definition:
rte_mempool.h:230
rte_swx_port_fd_reader_params
Definition:
rte_swx_port_fd.h:22
rte_swx_port_fd_reader_params::mempool
struct rte_mempool * mempool
Definition:
rte_swx_port_fd.h:30
rte_swx_port_fd_reader_params::burst_size
uint32_t burst_size
Definition:
rte_swx_port_fd.h:33
rte_swx_port_fd_reader_params::mtu
uint32_t mtu
Definition:
rte_swx_port_fd.h:27
rte_swx_port_fd_reader_params::fd
int fd
Definition:
rte_swx_port_fd.h:24
rte_swx_port_fd_writer_params
Definition:
rte_swx_port_fd.h:40
rte_swx_port_fd_writer_params::burst_size
uint32_t burst_size
Definition:
rte_swx_port_fd.h:45
rte_swx_port_fd_writer_params::fd
int fd
Definition:
rte_swx_port_fd.h:42
rte_swx_port_in_ops
Definition:
rte_swx_port.h:96
rte_swx_port_out_ops
Definition:
rte_swx_port.h:216
Generated by
1.9.4