DPDK
20.11.10
lib
librte_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_mempool.h
>
24
#include "
rte_port.h
"
25
27
struct
rte_port_fd_reader_params
{
29
int
fd
;
30
32
uint32_t
mtu
;
33
35
struct
rte_mempool
*
mempool
;
36
};
37
39
extern
struct
rte_port_in_ops
rte_port_fd_reader_ops
;
40
42
struct
rte_port_fd_writer_params
{
44
int
fd
;
45
49
uint32_t tx_burst_sz;
50
};
51
53
extern
struct
rte_port_out_ops
rte_port_fd_writer_ops
;
54
56
struct
rte_port_fd_writer_nodrop_params
{
58
int
fd
;
59
63
uint32_t tx_burst_sz;
64
66
uint32_t
n_retries
;
67
};
68
70
extern
struct
rte_port_out_ops
rte_port_fd_writer_nodrop_ops
;
71
72
#ifdef __cplusplus
73
}
74
#endif
75
76
#endif
rte_port_fd_writer_nodrop_params
Definition:
rte_port_fd.h:56
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:32
rte_mempool
Definition:
rte_mempool.h:208
rte_mempool.h
rte_port_fd_reader_params::fd
int fd
Definition:
rte_port_fd.h:29
rte_port_out_ops
Definition:
rte_port.h:221
rte_port_fd_reader_params::mempool
struct rte_mempool * mempool
Definition:
rte_port_fd.h:35
rte_port_fd_writer_nodrop_params::n_retries
uint32_t n_retries
Definition:
rte_port_fd.h:66
rte_port_fd_writer_nodrop_params::fd
int fd
Definition:
rte_port_fd.h:58
rte_port_fd_writer_params::fd
int fd
Definition:
rte_port_fd.h:44
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:27
rte_port_in_ops
Definition:
rte_port.h:119
rte_port_fd_writer_params
Definition:
rte_port_fd.h:42
rte_port_fd_writer_nodrop_ops
struct rte_port_out_ops rte_port_fd_writer_nodrop_ops
Generated by
1.8.13