gre: Disable tx queue.
authorJesse Gross <jesse@nicira.com>
Mon, 22 Feb 2010 22:04:41 +0000 (17:04 -0500)
committerJesse Gross <jesse@nicira.com>
Fri, 5 Mar 2010 21:31:27 +0000 (16:31 -0500)
GRE is a software device that processes packets synchronously and
doesn't need a queue.  Currently we are using the default for
Ethernet devices but that is unnecessary.

datapath/linux-2.6/compat-2.6/ip_gre.c

index 23a5574..da43f45 100644 (file)
@@ -1589,6 +1589,7 @@ static void ipgre_tap_setup(struct net_device *dev)
 
        dev->iflink             = 0;
        dev->features           |= NETIF_F_NETNS_LOCAL;
+       dev->tx_queue_len       = 0;
 
        SET_ETHTOOL_OPS(dev, &ethtool_ops);
 }