DPDK
22.11.7
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
20
#include "
rte_swx_port.h
"
21
23
struct
rte_swx_port_fd_reader_params
{
25
int
fd
;
26
28
uint32_t
mtu
;
29
31
struct
rte_mempool
*
mempool
;
32
34
uint32_t
burst_size
;
35
};
36
38
extern
struct
rte_swx_port_in_ops
rte_swx_port_fd_reader_ops
;
39
41
struct
rte_swx_port_fd_writer_params
{
43
int
fd
;
44
46
uint32_t
burst_size
;
47
};
48
50
extern
struct
rte_swx_port_out_ops
rte_swx_port_fd_writer_ops
;
51
52
#ifdef __cplusplus
53
}
54
#endif
55
56
#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:219
rte_swx_port_fd_reader_params
Definition:
rte_swx_port_fd.h:23
rte_swx_port_fd_reader_params::mempool
struct rte_mempool * mempool
Definition:
rte_swx_port_fd.h:31
rte_swx_port_fd_reader_params::burst_size
uint32_t burst_size
Definition:
rte_swx_port_fd.h:34
rte_swx_port_fd_reader_params::mtu
uint32_t mtu
Definition:
rte_swx_port_fd.h:28
rte_swx_port_fd_reader_params::fd
int fd
Definition:
rte_swx_port_fd.h:25
rte_swx_port_fd_writer_params
Definition:
rte_swx_port_fd.h:41
rte_swx_port_fd_writer_params::burst_size
uint32_t burst_size
Definition:
rte_swx_port_fd.h:46
rte_swx_port_fd_writer_params::fd
int fd
Definition:
rte_swx_port_fd.h:43
rte_swx_port_in_ops
Definition:
rte_swx_port.h:100
rte_swx_port_out_ops
Definition:
rte_swx_port.h:220
Generated by
1.9.4