| 389 | } |
| 390 | |
| 391 | static void |
| 392 | print_ethaddr(const char *name, const struct rte_ether_addr *eth_addr) |
| 393 | { |
| 394 | char buf[RTE_ETHER_ADDR_FMT_SIZE]; |
| 395 | rte_ether_format_addr(buf, RTE_ETHER_ADDR_FMT_SIZE, eth_addr); |
| 396 | printf("%s%s", name, buf); |
| 397 | } |
| 398 | |
| 399 | /* Check the link status of all ports in up to 3s, and print them finally */ |
| 400 | static void |
no test coverage detected