diff options
author | Emil Tantilov <emil.s.tantilov@intel.com> | 2010-03-25 12:11:48 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-03-26 21:01:41 -0700 |
commit | a08af745e4c711d22aeadc2adade36958fe03ce8 (patch) | |
tree | f9a2b6779f669ccaeffe169868f72b23265ce7b3 /drivers/net/igbvf/igbvf.h | |
parent | 6a2bad70d546cf30a46bc6d9ec0cb9a0891a38eb (diff) |
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.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/igbvf/igbvf.h b/drivers/net/igbvf/igbvf.h index a1774b29d22..debeee2dc71 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; |