DPDK
20.05.0
Main Page
Related Pages
Data Structures
Files
Examples
File List
Globals
lib
librte_port
rte_port_ethdev.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: BSD-3-Clause
2
* Copyright(c) 2010-2014 Intel Corporation
3
*/
4
5
#ifndef __INCLUDE_RTE_PORT_ETHDEV_H__
6
#define __INCLUDE_RTE_PORT_ETHDEV_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_ethdev_reader_params
{
28
uint16_t
port_id
;
29
31
uint16_t
queue_id
;
32
};
33
35
extern
struct
rte_port_in_ops
rte_port_ethdev_reader_ops
;
36
38
struct
rte_port_ethdev_writer_params
{
40
uint16_t
port_id
;
41
43
uint16_t
queue_id
;
44
47
uint32_t
tx_burst_sz
;
48
};
49
51
extern
struct
rte_port_out_ops
rte_port_ethdev_writer_ops
;
52
54
struct
rte_port_ethdev_writer_nodrop_params
{
56
uint16_t
port_id
;
57
59
uint16_t
queue_id
;
60
63
uint32_t
tx_burst_sz
;
64
66
uint32_t
n_retries
;
67
};
68
70
extern
struct
rte_port_out_ops
rte_port_ethdev_writer_nodrop_ops
;
71
72
#ifdef __cplusplus
73
}
74
#endif
75
76
#endif
rte_port_ethdev_writer_nodrop_params
Definition:
rte_port_ethdev.h:54
rte_port_ethdev_writer_params::tx_burst_sz
uint32_t tx_burst_sz
Definition:
rte_port_ethdev.h:47
rte_port_ethdev_writer_nodrop_params::port_id
uint16_t port_id
Definition:
rte_port_ethdev.h:56
rte_port_ethdev_writer_nodrop_params::queue_id
uint16_t queue_id
Definition:
rte_port_ethdev.h:59
rte_port_ethdev_writer_ops
struct rte_port_out_ops rte_port_ethdev_writer_ops
rte_port_ethdev_reader_params::queue_id
uint16_t queue_id
Definition:
rte_port_ethdev.h:31
rte_port_out_ops
Definition:
rte_port.h:221
rte_port_ethdev_writer_nodrop_ops
struct rte_port_out_ops rte_port_ethdev_writer_nodrop_ops
rte_port_ethdev_reader_ops
struct rte_port_in_ops rte_port_ethdev_reader_ops
rte_port_ethdev_writer_params::port_id
uint16_t port_id
Definition:
rte_port_ethdev.h:40
rte_port_ethdev_writer_nodrop_params::n_retries
uint32_t n_retries
Definition:
rte_port_ethdev.h:66
rte_port.h
rte_port_in_ops
Definition:
rte_port.h:119
rte_port_ethdev_writer_nodrop_params::tx_burst_sz
uint32_t tx_burst_sz
Definition:
rte_port_ethdev.h:63
rte_port_ethdev_reader_params
Definition:
rte_port_ethdev.h:26
rte_port_ethdev_writer_params
Definition:
rte_port_ethdev.h:38
rte_port_ethdev_writer_params::queue_id
uint16_t queue_id
Definition:
rte_port_ethdev.h:43
rte_port_ethdev_reader_params::port_id
uint16_t port_id
Definition:
rte_port_ethdev.h:28
Generated by
1.8.9.1