DPDK
24.11.0-rc3
lib
port
rte_port_fd.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: BSD-3-Clause
2
* Copyright(c) 2016 Intel Corporation
3
*/
4
5
#ifndef __INCLUDE_RTE_PORT_FD_H__
6
#define __INCLUDE_RTE_PORT_FD_H__
7
16
#include <stdint.h>
17
18
#include "
rte_port.h
"
19
20
#ifdef __cplusplus
21
extern
"C"
{
22
#endif
23
25
struct
rte_port_fd_reader_params
{
27
int
fd
;
28
30
uint32_t
mtu
;
31
33
struct
rte_mempool
*
mempool
;
34
};
35
37
extern
struct
rte_port_in_ops
rte_port_fd_reader_ops
;
38
40
struct
rte_port_fd_writer_params
{
42
int
fd
;
43
47
uint32_t tx_burst_sz;
48
};
49
51
extern
struct
rte_port_out_ops
rte_port_fd_writer_ops
;
52
54
struct
rte_port_fd_writer_nodrop_params
{
56
int
fd
;
57
61
uint32_t tx_burst_sz;
62
64
uint32_t
n_retries
;
65
};
66
68
extern
struct
rte_port_out_ops
rte_port_fd_writer_nodrop_ops
;
69
70
#ifdef __cplusplus
71
}
72
#endif
73
74
#endif
rte_port_fd_writer_nodrop_params
Definition:
rte_port_fd.h:54
rte_port_fd_writer_ops
struct rte_port_out_ops rte_port_fd_writer_ops
rte_port_fd_reader_params::mtu
uint32_t mtu
Definition:
rte_port_fd.h:30
rte_mempool
Definition:
rte_mempool.h:230
rte_port_fd_reader_params::fd
int fd
Definition:
rte_port_fd.h:27
rte_port_out_ops
Definition:
rte_port.h:214
rte_port_fd_reader_params::mempool
struct rte_mempool * mempool
Definition:
rte_port_fd.h:33
rte_port_fd_writer_nodrop_params::n_retries
uint32_t n_retries
Definition:
rte_port_fd.h:64
rte_port_fd_writer_nodrop_params::fd
int fd
Definition:
rte_port_fd.h:56
rte_port_fd_writer_params::fd
int fd
Definition:
rte_port_fd.h:42
rte_port.h
rte_port_fd_reader_ops
struct rte_port_in_ops rte_port_fd_reader_ops
rte_port_fd_reader_params
Definition:
rte_port_fd.h:25
rte_port_in_ops
Definition:
rte_port.h:113
rte_port_fd_writer_params
Definition:
rte_port_fd.h:40
rte_port_fd_writer_nodrop_ops
struct rte_port_out_ops rte_port_fd_writer_nodrop_ops
Generated by
1.8.13