MCPcopy Create free account
hub / github.com/F-Stack/f-stack / eth_macaddr_get_print_err

Function eth_macaddr_get_print_err

dpdk/app/test-pmd/util.c:513–525  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

511}
512
513int
514eth_macaddr_get_print_err(uint16_t port_id, struct rte_ether_addr *mac_addr)
515{
516 int ret;
517
518 ret = rte_eth_macaddr_get(port_id, mac_addr);
519 if (ret != 0)
520 fprintf(stderr,
521 "Error getting device (port %u) mac address: %s\n",
522 port_id, rte_strerror(-ret));
523
524 return ret;
525}

Callers 6

device_infos_displayFunction · 0.85
port_infos_displayFunction · 0.85
port_summary_displayFunction · 0.85
start_portFunction · 0.85
init_port_configFunction · 0.85
init_port_dcb_configFunction · 0.85

Calls 2

rte_eth_macaddr_getFunction · 0.85
rte_strerrorFunction · 0.85

Tested by 3

start_portFunction · 0.68
init_port_configFunction · 0.68
init_port_dcb_configFunction · 0.68