net/vdev_netvsc: get rid of unnecessary debug log message
If vdev_netvsc is run with debug logging enabled, then the log output will fill with: net_vdev_netvsc: interface lo is non-ethernet device Remove the message since it is not useful. Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Acked-by: Matan Azrad <matan@mellanox.com>
This commit is contained in:
parent
4dd60a7a93
commit
08078fda3c
@ -191,11 +191,8 @@ vdev_netvsc_foreach_iface(int (*func)(const struct if_nameindex *iface,
|
||||
req.ifr_name, rte_strerror(errno));
|
||||
continue;
|
||||
}
|
||||
if (req.ifr_hwaddr.sa_family != ARPHRD_ETHER) {
|
||||
DRV_LOG(DEBUG, "interface %s is non-ethernet device",
|
||||
req.ifr_name);
|
||||
if (req.ifr_hwaddr.sa_family != ARPHRD_ETHER)
|
||||
continue;
|
||||
}
|
||||
memcpy(eth_addr.addr_bytes, req.ifr_hwaddr.sa_data,
|
||||
RTE_DIM(eth_addr.addr_bytes));
|
||||
va_start(ap, is_netvsc);
|
||||
|
Loading…
x
Reference in New Issue
Block a user