DPDK
20.08.0
Main Page
Related Pages
Data Structures
Files
Examples
File List
Globals
drivers
net
softnic
rte_eth_softnic.h
1
/* SPDX-License-Identifier: BSD-3-Clause
2
* Copyright(c) 2017 Intel Corporation
3
*/
4
5
#ifndef __INCLUDE_RTE_ETH_SOFTNIC_H__
6
#define __INCLUDE_RTE_ETH_SOFTNIC_H__
7
8
#include <stdint.h>
9
10
#ifdef __cplusplus
11
extern
"C"
{
12
#endif
13
15
#ifndef SOFTNIC_FIRMWARE
16
#define SOFTNIC_FIRMWARE "firmware.cli"
17
#endif
18
20
#ifndef SOFTNIC_CONN_PORT
21
#define SOFTNIC_CONN_PORT 0
22
#endif
23
25
#ifndef SOFTNIC_CPU_ID
26
#define SOFTNIC_CPU_ID 0
27
#endif
28
45
#ifndef SOFTNIC_SC
46
#define SOFTNIC_SC 1
47
#endif
48
50
#ifndef SOFTNIC_TM_N_QUEUES
51
#define SOFTNIC_TM_N_QUEUES (64 * 1024)
52
#endif
53
55
#ifndef SOFTNIC_TM_QUEUE_SIZE
56
#define SOFTNIC_TM_QUEUE_SIZE 64
57
#endif
58
67
int
68
rte_pmd_softnic_run(uint16_t port_id);
69
78
__rte_experimental
79
int
80
rte_pmd_softnic_manage(uint16_t port_id);
81
82
#ifdef __cplusplus
83
}
84
#endif
85
86
#endif
/* __INCLUDE_RTE_ETH_SOFTNIC_H__ */
Generated by
1.8.9.1