DPDK
19.11.14
Main Page
Related Pages
+
Data Structures
Data Structures
+
Data Fields
+
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
+
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Files
File List
+
Globals
+
All
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
+
Functions
_
c
g
p
r
s
t
+
Variables
b
c
m
r
+
Typedefs
a
c
d
e
h
l
m
p
r
s
u
+
Enumerations
r
+
Enumerator
c
e
f
i
m
r
s
w
+
Macros
_
b
c
d
e
i
l
m
o
p
r
s
t
u
v
Examples
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
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.13