From 3c8740c5be5a63c65d7d38e08179a43157d4c4b1 Mon Sep 17 00:00:00 2001 From: Jesse Gross Date: Mon, 22 Feb 2010 17:04:41 -0500 Subject: [PATCH] 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. --- datapath/linux-2.6/compat-2.6/ip_gre.c | 1 + 1 file changed, 1 insertion(+) 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 23a557400..da43f4535 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); } -- 2.45.2