From: Phil Sutter Date: Tue, 18 Aug 2015 08:30:29 +0000 (+0200) Subject: net: veth: enable noqueue operation by default X-Git-Tag: v5.15~15163^2~141^2~20 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=02f01ec1c5c697e0f84b9e58bf9a294a3a1b348e;p=platform%2Fkernel%2Flinux-starfive.git net: veth: enable noqueue operation by default Signed-off-by: Phil Sutter Cc: Pavel Emelyanov Signed-off-by: David S. Miller --- diff --git a/drivers/net/veth.c b/drivers/net/veth.c index 343592c..0ef4a5a 100644 --- a/drivers/net/veth.c +++ b/drivers/net/veth.c @@ -306,6 +306,7 @@ static void veth_setup(struct net_device *dev) dev->priv_flags &= ~IFF_TX_SKB_SHARING; dev->priv_flags |= IFF_LIVE_ADDR_CHANGE; + dev->priv_flags |= IFF_NO_QUEUE; dev->netdev_ops = &veth_netdev_ops; dev->ethtool_ops = &veth_ethtool_ops;