struct interface_info {
char *name;
- struct ether_addr mac_addr;
- struct ether_addr peer_mac;
+ struct rte_ether_addr mac_addr;
+ struct rte_ether_addr peer_mac;
int mac_present;
int fman_enabled_mac_interface;
};
* cfg_file: FMC config XML file
* Returns the configuration information in newly allocated memory.
*/
+__rte_internal
struct netcfg_info *netcfg_acquire(void);
/* cfg_ptr: configuration information pointer.
* Frees the resources allocated by the configuration layer.
*/
+__rte_internal
void netcfg_release(struct netcfg_info *cfg_ptr);
#ifdef RTE_LIBRTE_DPAA_DEBUG_DRIVER