From: Jesse Gross Date: Mon, 22 Feb 2010 22:04:41 +0000 (-0500) Subject: gre: Disable tx queue. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c8740c5be5a63c65d7d38e08179a43157d4c4b1;p=openvswitch gre: Disable tx queue. 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. --- diff --git a/datapath/linux-2.6/compat-2.6/ip_gre.c b/datapath/linux-2.6/compat-2.6/ip_gre.c index 23a55740..da43f453 100644 --- a/datapath/linux-2.6/compat-2.6/ip_gre.c +++ b/datapath/linux-2.6/compat-2.6/ip_gre.c @@ -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, ðtool_ops); }