Blog
Community
Development
Documentation
CNDP
22.08.0
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