DPDK
21.11.9
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
22
#include <stdint.h>
23
24
#include <
rte_kni.h
>
25
26
#include "
rte_port.h
"
27
29
struct
rte_port_kni_reader_params
{
31
struct
rte_kni *
kni
;
32
};
33
35
extern
struct
rte_port_in_ops
rte_port_kni_reader_ops
;
36
37
39
struct
rte_port_kni_writer_params
{
41
struct
rte_kni *
kni
;
43
uint32_t
tx_burst_sz
;
44
};
45
47
extern
struct
rte_port_out_ops
rte_port_kni_writer_ops
;
48
50
struct
rte_port_kni_writer_nodrop_params
{
52
struct
rte_kni *
kni
;
54
uint32_t
tx_burst_sz
;
56
uint32_t
n_retries
;
57
};
58
60
extern
struct
rte_port_out_ops
rte_port_kni_writer_nodrop_ops
;
61
62
#ifdef __cplusplus
63
}
64
#endif
65
66
#endif
rte_kni.h
rte_port.h
rte_port_kni_writer_nodrop_ops
struct rte_port_out_ops rte_port_kni_writer_nodrop_ops
rte_port_kni_writer_ops
struct rte_port_out_ops rte_port_kni_writer_ops
rte_port_kni_reader_ops
struct rte_port_in_ops rte_port_kni_reader_ops
rte_port_in_ops
Definition:
rte_port.h:119
rte_port_kni_reader_params
Definition:
rte_port_kni.h:29
rte_port_kni_reader_params::kni
struct rte_kni * kni
Definition:
rte_port_kni.h:31
rte_port_kni_writer_nodrop_params
Definition:
rte_port_kni.h:50
rte_port_kni_writer_nodrop_params::n_retries
uint32_t n_retries
Definition:
rte_port_kni.h:56
rte_port_kni_writer_nodrop_params::tx_burst_sz
uint32_t tx_burst_sz
Definition:
rte_port_kni.h:54
rte_port_kni_writer_nodrop_params::kni
struct rte_kni * kni
Definition:
rte_port_kni.h:52
rte_port_kni_writer_params
Definition:
rte_port_kni.h:39
rte_port_kni_writer_params::tx_burst_sz
uint32_t tx_burst_sz
Definition:
rte_port_kni.h:43
rte_port_kni_writer_params::kni
struct rte_kni * kni
Definition:
rte_port_kni.h:41
rte_port_out_ops
Definition:
rte_port.h:221
Generated by
1.9.4