usb_net: allow calling netif_stop_queue dummy

When the usb_net_drv was introduced in ports/run/netperf.inc, the
netperf_lxip_usb test on x86_64/hw/pc triggered the calling of the
netif_stop_queue dummy at
contrib/<DDE_LINUX>/src/drivers/usb_net/drivers/net/usb/usbnet.c:1464. As
netif_start_queue was also a dummy and allowed to be called, we tried allowing
calls to the netif_stop_queue dummy as well which fixed the
netperf_lxip_usb test on x86_64/hw/pc.

Ref #3961
This commit is contained in:
Martin Stein 2021-02-12 15:13:22 +01:00 committed by Norman Feske
parent a99f6a81b6
commit 23620942bf

View File

@ -216,7 +216,7 @@ void netif_start_queue(struct net_device *dev)
void netif_stop_queue(struct net_device *dev)
{
TRACE_AND_STOP;
TRACE;
}
void netif_trans_update(struct net_device *dev)