openvswitch: Convert to using IFF_NO_QUEUE
authorPhil Sutter <phil@nwl.cc>
Fri, 15 Apr 2016 17:14:20 +0000 (19:14 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 17 Apr 2016 02:02:14 +0000 (22:02 -0400)
Cc: Pravin Shelar <pshelar@nicira.com>
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/openvswitch/vport-internal_dev.c

index 7c8b90bf0e540e971d69603987d218f44583bd1d..2ee48e447b724af8afe4c77fa64fe4512d1725fe 100644 (file)
@@ -165,11 +165,10 @@ static void do_setup(struct net_device *netdev)
 
        netdev->priv_flags &= ~IFF_TX_SKB_SHARING;
        netdev->priv_flags |= IFF_LIVE_ADDR_CHANGE | IFF_OPENVSWITCH |
-                             IFF_PHONY_HEADROOM;
+                             IFF_PHONY_HEADROOM | IFF_NO_QUEUE;
        netdev->destructor = internal_dev_destructor;
        netdev->ethtool_ops = &internal_dev_ethtool_ops;
        netdev->rtnl_link_ops = &internal_dev_link_ops;
-       netdev->tx_queue_len = 0;
 
        netdev->features = NETIF_F_LLTX | NETIF_F_SG | NETIF_F_FRAGLIST |
                           NETIF_F_HIGHDMA | NETIF_F_HW_CSUM |