#include <rte_bus_pci.h>
#include <rte_kvargs.h>
-#include <cmdline_parse.h>
-#include <cmdline_parse_etheraddr.h>
-
#include "rte_eth_bond.h"
#include "rte_eth_bond_private.h"
pci_bus = rte_bus_find_by_name("pci");
if (pci_bus == NULL) {
- RTE_LOG(ERR, PMD, "unable to find PCI bus\n");
+ RTE_BOND_LOG(ERR, "unable to find PCI bus\n");
return -1;
}
return -1;
/* Parse MAC */
- return cmdline_parse_etheraddr(NULL, value, extra_args,
- sizeof(struct ether_addr));
+ return rte_ether_unformat_addr(value, extra_args);
}
int