igbvf: do not modify tx_queue_len on link speed change
authorEmil Tantilov <emil.s.tantilov@intel.com>
Thu, 25 Mar 2010 12:11:48 +0000 (12:11 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 27 Mar 2010 04:01:41 +0000 (21:01 -0700)
commita08af745e4c711d22aeadc2adade36958fe03ce8
treef9a2b6779f669ccaeffe169868f72b23265ce7b3
parent6a2bad70d546cf30a46bc6d9ec0cb9a0891a38eb
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>
drivers/net/igbvf/igbvf.h
drivers/net/igbvf/netdev.c