igb: do not modify tx_queue_len on link speed change
authorEmil Tantilov <emil.s.tantilov@intel.com>
Tue, 23 Mar 2010 18:34:57 +0000 (18:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Mar 2010 06:19:57 +0000 (23:19 -0700)
commitd07f3e375f608e52a1f8958fbde105bb27b7629a
tree6a67c30c9bac2f614c14bc213e0379134827163a
parentfa3d9a6d55014b5bce5575aeab1cf711cff748ab
igb: 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>

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>
drivers/net/igb/igb.h
drivers/net/igb/igb_main.c