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 
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__ */
int cne_node_eth_config(struct cne_node_pktdev_config *cfg, uint16_t cnt)