DPDK
22.11.6
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
25
#include "
rte_port.h
"
26
28
struct
rte_port_kni_reader_params
{
30
struct
rte_kni *
kni
;
31
};
32
34
extern
struct
rte_port_in_ops
rte_port_kni_reader_ops
;
35
36
38
struct
rte_port_kni_writer_params
{
40
struct
rte_kni *
kni
;
42
uint32_t
tx_burst_sz
;
43
};
44
46
extern
struct
rte_port_out_ops
rte_port_kni_writer_ops
;
47
49
struct
rte_port_kni_writer_nodrop_params
{
51
struct
rte_kni *
kni
;
53
uint32_t
tx_burst_sz
;
55
uint32_t
n_retries
;
56
};
57
59
extern
struct
rte_port_out_ops
rte_port_kni_writer_nodrop_ops
;
60
61
#ifdef __cplusplus
62
}
63
#endif
64
65
#endif
rte_port_kni_writer_params::kni
struct rte_kni * kni
Definition:
rte_port_kni.h:40
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:221
rte_port_kni_writer_nodrop_params::tx_burst_sz
uint32_t tx_burst_sz
Definition:
rte_port_kni.h:53
rte_port_kni_reader_params
Definition:
rte_port_kni.h:28
rte_port_kni_writer_nodrop_params::n_retries
uint32_t n_retries
Definition:
rte_port_kni.h:55
rte_port_kni_writer_nodrop_params
Definition:
rte_port_kni.h:49
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:42
rte_port_in_ops
Definition:
rte_port.h:119
rte_port_kni_writer_params
Definition:
rte_port_kni.h:38
rte_port_kni_reader_params::kni
struct rte_kni * kni
Definition:
rte_port_kni.h:30
rte_port_kni_writer_nodrop_params::kni
struct rte_kni * kni
Definition:
rte_port_kni.h:51
Generated by
1.8.13