DPDK
22.11.5
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
57
int
58
rte_pmd_softnic_run(uint16_t port_id);
59
68
int
69
rte_pmd_softnic_manage(uint16_t port_id);
70
71
#ifdef __cplusplus
72
}
73
#endif
74
75
#endif
/* __INCLUDE_RTE_ETH_SOFTNIC_H__ */
Generated by
1.9.4