mirror of https://gitee.com/openkylin/linux.git
net: veth: enable noqueue operation by default
Signed-off-by: Phil Sutter <phil@nwl.cc> Cc: Pavel Emelyanov <xemul@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
0b233dc716
commit
02f01ec1c5
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue