DPDK
22.11.6
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
8
#ifdef __cplusplus
9
extern
"C"
{
10
#endif
11
21
#include <stdint.h>
22
23
#include "
rte_port.h
"
24
26
struct
rte_port_fd_reader_params
{
28
int
fd
;
29
31
uint32_t
mtu
;
32
34
struct
rte_mempool
*
mempool
;
35
};
36
38
extern
struct
rte_port_in_ops
rte_port_fd_reader_ops
;
39
41
struct
rte_port_fd_writer_params
{
43
int
fd
;
44
48
uint32_t tx_burst_sz;
49
};
50
52
extern
struct
rte_port_out_ops
rte_port_fd_writer_ops
;
53
55
struct
rte_port_fd_writer_nodrop_params
{
57
int
fd
;
58
62
uint32_t tx_burst_sz;
63
65
uint32_t
n_retries
;
66
};
67
69
extern
struct
rte_port_out_ops
rte_port_fd_writer_nodrop_ops
;
70
71
#ifdef __cplusplus
72
}
73
#endif
74
75
#endif
rte_port.h
rte_port_fd_reader_ops
struct rte_port_in_ops rte_port_fd_reader_ops
rte_port_fd_writer_ops
struct rte_port_out_ops rte_port_fd_writer_ops
rte_port_fd_writer_nodrop_ops
struct rte_port_out_ops rte_port_fd_writer_nodrop_ops
rte_mempool
Definition:
rte_mempool.h:219
rte_port_fd_reader_params
Definition:
rte_port_fd.h:26
rte_port_fd_reader_params::mempool
struct rte_mempool * mempool
Definition:
rte_port_fd.h:34
rte_port_fd_reader_params::mtu
uint32_t mtu
Definition:
rte_port_fd.h:31
rte_port_fd_reader_params::fd
int fd
Definition:
rte_port_fd.h:28
rte_port_fd_writer_nodrop_params
Definition:
rte_port_fd.h:55
rte_port_fd_writer_nodrop_params::n_retries
uint32_t n_retries
Definition:
rte_port_fd.h:65
rte_port_fd_writer_nodrop_params::fd
int fd
Definition:
rte_port_fd.h:57
rte_port_fd_writer_params
Definition:
rte_port_fd.h:41
rte_port_fd_writer_params::fd
int fd
Definition:
rte_port_fd.h:43
rte_port_in_ops
Definition:
rte_port.h:119
rte_port_out_ops
Definition:
rte_port.h:221
Generated by
1.9.4