DPDK
23.07.0
lib
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
20
#include <stdint.h>
21
22
#include "
rte_port.h
"
23
25
struct
rte_port_ethdev_reader_params
{
27
uint16_t
port_id
;
28
30
uint16_t
queue_id
;
31
};
32
34
extern
struct
rte_port_in_ops
rte_port_ethdev_reader_ops
;
35
37
struct
rte_port_ethdev_writer_params
{
39
uint16_t
port_id
;
40
42
uint16_t
queue_id
;
43
46
uint32_t
tx_burst_sz
;
47
};
48
50
extern
struct
rte_port_out_ops
rte_port_ethdev_writer_ops
;
51
53
struct
rte_port_ethdev_writer_nodrop_params
{
55
uint16_t
port_id
;
56
58
uint16_t
queue_id
;
59
62
uint32_t
tx_burst_sz
;
63
65
uint32_t
n_retries
;
66
};
67
69
extern
struct
rte_port_out_ops
rte_port_ethdev_writer_nodrop_ops
;
70
71
#ifdef __cplusplus
72
}
73
#endif
74
75
#endif
rte_port_ethdev_writer_nodrop_params
Definition:
rte_port_ethdev.h:53
rte_port_ethdev_writer_params::tx_burst_sz
uint32_t tx_burst_sz
Definition:
rte_port_ethdev.h:46
rte_port_ethdev_writer_nodrop_params::port_id
uint16_t port_id
Definition:
rte_port_ethdev.h:55
rte_port_ethdev_writer_nodrop_params::queue_id
uint16_t queue_id
Definition:
rte_port_ethdev.h:58
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:30
rte_port_out_ops
Definition:
rte_port.h:218
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:39
rte_port_ethdev_writer_nodrop_params::n_retries
uint32_t n_retries
Definition:
rte_port_ethdev.h:65
rte_port.h
rte_port_in_ops
Definition:
rte_port.h:117
rte_port_ethdev_writer_nodrop_params::tx_burst_sz
uint32_t tx_burst_sz
Definition:
rte_port_ethdev.h:62
rte_port_ethdev_reader_params
Definition:
rte_port_ethdev.h:25
rte_port_ethdev_writer_params
Definition:
rte_port_ethdev.h:37
rte_port_ethdev_writer_params::queue_id
uint16_t queue_id
Definition:
rte_port_ethdev.h:42
rte_port_ethdev_reader_params::port_id
uint16_t port_id
Definition:
rte_port_ethdev.h:27
Generated by
1.8.13