projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87036db
)
gre: Disable tx queue.
author
Jesse Gross
<jesse@nicira.com>
Mon, 22 Feb 2010 22:04:41 +0000
(17:04 -0500)
committer
Jesse 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
patch
|
blob
|
history
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 23a557400756cb8db0d797028f6637f510d87932..da43f4535accebe86d7ab3b623f24c9a7186b245 100644
(file)
--- 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);
}