diff options
| author | Phil Sutter <phil@nwl.cc> | 2016-04-15 13:14:20 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2016-04-16 22:02:14 -0400 |
| commit | 4272cc51a6dcf2c086863372fd593809ffced7d5 (patch) | |
| tree | f775ce9ddb09834f73df9d7354c744bddcde4758 /net/openvswitch | |
| parent | 9e7399173200934612edf2153b93a8f232b88e4b (diff) | |
openvswitch: Convert to using IFF_NO_QUEUE
Cc: Pravin Shelar <pshelar@nicira.com>
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/openvswitch')
| -rw-r--r-- | net/openvswitch/vport-internal_dev.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/openvswitch/vport-internal_dev.c b/net/openvswitch/vport-internal_dev.c index 7c8b90bf0e54..2ee48e447b72 100644 --- a/net/openvswitch/vport-internal_dev.c +++ b/net/openvswitch/vport-internal_dev.c | |||
| @@ -165,11 +165,10 @@ static void do_setup(struct net_device *netdev) | |||
| 165 | 165 | ||
| 166 | netdev->priv_flags &= ~IFF_TX_SKB_SHARING; | 166 | netdev->priv_flags &= ~IFF_TX_SKB_SHARING; |
| 167 | netdev->priv_flags |= IFF_LIVE_ADDR_CHANGE | IFF_OPENVSWITCH | | 167 | netdev->priv_flags |= IFF_LIVE_ADDR_CHANGE | IFF_OPENVSWITCH | |
| 168 | IFF_PHONY_HEADROOM; | 168 | IFF_PHONY_HEADROOM | IFF_NO_QUEUE; |
| 169 | netdev->destructor = internal_dev_destructor; | 169 | netdev->destructor = internal_dev_destructor; |
| 170 | netdev->ethtool_ops = &internal_dev_ethtool_ops; | 170 | netdev->ethtool_ops = &internal_dev_ethtool_ops; |
| 171 | netdev->rtnl_link_ops = &internal_dev_link_ops; | 171 | netdev->rtnl_link_ops = &internal_dev_link_ops; |
| 172 | netdev->tx_queue_len = 0; | ||
| 173 | 172 | ||
| 174 | netdev->features = NETIF_F_LLTX | NETIF_F_SG | NETIF_F_FRAGLIST | | 173 | netdev->features = NETIF_F_LLTX | NETIF_F_SG | NETIF_F_FRAGLIST | |
| 175 | NETIF_F_HIGHDMA | NETIF_F_HW_CSUM | | 174 | NETIF_F_HIGHDMA | NETIF_F_HW_CSUM | |
