aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/igbvf/igbvf.h
diff options
context:
space:
mode:
authorEmil Tantilov <emil.s.tantilov@intel.com>2010-03-25 12:11:48 +0000
committerDavid S. Miller <davem@davemloft.net>2010-03-26 21:01:41 -0700
commita08af745e4c711d22aeadc2adade36958fe03ce8 (patch)
treef9a2b6779f669ccaeffe169868f72b23265ce7b3 /drivers/net/igbvf/igbvf.h
parentipv4: Restart rt_intern_hash after emergency rebuild (v2) (diff)
downloadlinux-dev-a08af745e4c711d22aeadc2adade36958fe03ce8.tar.xz
linux-dev-a08af745e4c711d22aeadc2adade36958fe03ce8.zip
igbvf: do not modify tx_queue_len on link speed change
Previously the driver tweaked txqueuelen to avoid false Tx hang reports seen at half duplex. This had the effect of overriding user set values on link change/reset. Testing shows that adjusting only the timeout factor is sufficient to prevent Tx hang reports at half duplex. Based on e1000e patch by Franco Fichtner <franco@lastsummer.de> CC: Franco Fichtner <franco@lastsummer.de> Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/igbvf/igbvf.h')
-rw-r--r--drivers/net/igbvf/igbvf.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/igbvf/igbvf.h b/drivers/net/igbvf/igbvf.h
index a1774b29d222..debeee2dc717 100644
--- a/drivers/net/igbvf/igbvf.h
+++ b/drivers/net/igbvf/igbvf.h
@@ -198,7 +198,6 @@ struct igbvf_adapter {
struct igbvf_ring *tx_ring /* One per active queue */
____cacheline_aligned_in_smp;
- unsigned long tx_queue_len;
unsigned int restart_queue;
u32 txd_cmd;