]> git.baikalelectronics.ru Git - kernel.git/commit
e1000e: do not modify tx_queue_len on link speed change
authorEmil Tantilov <emil.s.tantilov@intel.com>
Wed, 24 Mar 2010 12:55:02 +0000 (12:55 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 27 Mar 2010 04:04:54 +0000 (21:04 -0700)
commit9a0da8a4508b4c823eb5a046249d0247ce3e9f1a
treefb8d0310424a9b54aaa190dc8bc4b0387905d2ae
parenteaaad2099e1a215872bee01e268836acf0c98f12
e1000e: 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.

This patch removes all instances of tx_queue_len in the driver.

Originally reported and patched by Franco Fichtner
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/e1000e/e1000.h
drivers/net/e1000e/netdev.c