Blog
Community
Development
Documentation
CNDP
22.08.0
Main Page
Related Pages
Data Structures
Data Structures
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Functions
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
x
Functions
_
c
d
e
f
g
h
i
j
k
l
m
n
p
s
t
u
v
x
Variables
Typedefs
a
b
c
h
i
j
l
m
o
p
s
t
u
v
Enumerations
Enumerator
_
a
c
d
e
j
m
p
r
s
t
u
Macros
_
a
c
d
e
h
i
j
k
l
m
o
p
r
t
u
v
x
Examples
▼
CNDP
API
CNDP Example Programs
►
Data Structures
▼
Files
►
File List
►
Globals
►
Examples
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
node_eth_api.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: BSD-3-Clause
2
* Copyright (c) 2020 Marvell International Ltd.
3
*/
4
5
#ifndef __INCLUDE_CNE_NODE_ETH_API_H__
6
#define __INCLUDE_CNE_NODE_ETH_API_H__
7
19
#include <
cne_common.h
>
20
#include <
mempool.h
>
21
22
#ifdef __cplusplus
23
extern
"C"
{
24
#endif
25
29
struct
cne_node_pktdev_config
{
30
uint16_t
port_id
;
31
};
32
46
int
cne_node_eth_config
(
struct
cne_node_pktdev_config
*cfg, uint16_t cnt);
47
48
#ifdef __cplusplus
49
}
50
#endif
51
52
#endif
/* __INCLUDE_CNE_NODE_ETH_API_H__ */
cne_common.h
mempool.h
cne_node_eth_config
int cne_node_eth_config(struct cne_node_pktdev_config *cfg, uint16_t cnt)
cne_node_pktdev_config
Definition:
node_eth_api.h:29
cne_node_pktdev_config::port_id
uint16_t port_id
Definition:
node_eth_api.h:30
lib
usr
clib
nodes
node_eth_api.h
Generated by
1.9.1