DPDK
23.07.0
lib
port
rte_port_kni.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: BSD-3-Clause
2
* Copyright(c) 2016 Ethan Zhuang <zhuangwj@gmail.com>.
3
* Copyright(c) 2016 Intel Corporation.
4
*/
5
6
#ifndef __INCLUDE_RTE_PORT_KNI_H__
7
#define __INCLUDE_RTE_PORT_KNI_H__
8
9
#ifdef __cplusplus
10
extern
"C"
{
11
#endif
12
21
#include <stdint.h>
22
23
#include "
rte_port.h
"
24
26
struct
rte_port_kni_reader_params
{
28
struct
rte_kni *
kni
;
29
};
30
32
extern
struct
rte_port_in_ops
rte_port_kni_reader_ops
;
33
34
36
struct
rte_port_kni_writer_params
{
38
struct
rte_kni *
kni
;
40
uint32_t
tx_burst_sz
;
41
};
42
44
extern
struct
rte_port_out_ops
rte_port_kni_writer_ops
;
45
47
struct
rte_port_kni_writer_nodrop_params
{
49
struct
rte_kni *
kni
;
51
uint32_t
tx_burst_sz
;
53
uint32_t
n_retries
;
54
};
55
57
extern
struct
rte_port_out_ops
rte_port_kni_writer_nodrop_ops
;
58
59
#ifdef __cplusplus
60
}
61
#endif
62
63
#endif
rte_port_kni_writer_params::kni
struct rte_kni * kni
Definition:
rte_port_kni.h:38
rte_port_kni_writer_nodrop_ops
struct rte_port_out_ops rte_port_kni_writer_nodrop_ops
rte_port_out_ops
Definition:
rte_port.h:218
rte_port_kni_writer_nodrop_params::tx_burst_sz
uint32_t tx_burst_sz
Definition:
rte_port_kni.h:51
rte_port_kni_reader_params
Definition:
rte_port_kni.h:26
rte_port_kni_writer_nodrop_params::n_retries
uint32_t n_retries
Definition:
rte_port_kni.h:53
rte_port_kni_writer_nodrop_params
Definition:
rte_port_kni.h:47
rte_port_kni_reader_ops
struct rte_port_in_ops rte_port_kni_reader_ops
rte_port.h
rte_port_kni_writer_ops
struct rte_port_out_ops rte_port_kni_writer_ops
rte_port_kni_writer_params::tx_burst_sz
uint32_t tx_burst_sz
Definition:
rte_port_kni.h:40
rte_port_in_ops
Definition:
rte_port.h:117
rte_port_kni_writer_params
Definition:
rte_port_kni.h:36
rte_port_kni_reader_params::kni
struct rte_kni * kni
Definition:
rte_port_kni.h:28
rte_port_kni_writer_nodrop_params::kni
struct rte_kni * kni
Definition:
rte_port_kni.h:49
Generated by
1.8.13