Skip to content

Commit

Permalink
net: geneve: convert to using IFF_NO_QUEUE
Browse files Browse the repository at this point in the history
Signed-off-by: Phil Sutter <phil@nwl.cc>
Cc: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Phil Sutter authored and David S. Miller committed Aug 18, 2015
1 parent ff42c02 commit ed961ac
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/net/geneve.c
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,6 @@ static void geneve_setup(struct net_device *dev)

SET_NETDEV_DEVTYPE(dev, &geneve_type);

dev->tx_queue_len = 0;
dev->features |= NETIF_F_LLTX;
dev->features |= NETIF_F_SG | NETIF_F_HW_CSUM;
dev->features |= NETIF_F_RXCSUM;
Expand All @@ -297,7 +296,7 @@ static void geneve_setup(struct net_device *dev)
dev->hw_features |= NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_STAG_TX;

netif_keep_dst(dev);
dev->priv_flags |= IFF_LIVE_ADDR_CHANGE;
dev->priv_flags |= IFF_LIVE_ADDR_CHANGE | IFF_NO_QUEUE;
}

static const struct nla_policy geneve_policy[IFLA_GENEVE_MAX + 1] = {
Expand Down

0 comments on commit ed961ac

Please sign in to comment.