net/vdev_netvsc: get rid of unnecessary debug log message
PATCH 1/1 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 <[email protected]>
--- drivers/net/vdev_netvsc/vdev_netvsc.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
drivers/net/vdev_netvsc/vdev_netvsc.c +1 -4
@@ -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);
Signature · 1 line
2.19.1
From: Stephen Hemminger
Quoted 7 lines
If
vdev_netvscis run with debug logging enabled, then the log output will fill with:
net_vdev_netvsc: interface lo is non-ethernet deviceRemove the message since it is not useful.
Signed-off-by Stephen Hemminger <[email protected]>
Acked-by Matan Azrad <[email protected]>
Ferruh Yigit
AppliedQuoted 12 lines · Matan Azrad
From: Stephen Hemminger
Quoted 7 lines
If
vdev_netvscis run with debug logging enabled, then the log output will fill with:
net_vdev_netvsc: interface lo is non-ethernet deviceRemove the message since it is not useful.
Signed-off-by Stephen Hemminger <[email protected]>Acked-by Matan Azrad <[email protected]>
Applied to dpdk-next-net/master, thanks.