]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitf49c57e141c7f53353e4265a31dc2324e6215037
treefb8d0310424a9b54aaa190dc8bc4b0387905d2ae
parenta08af745e4c711d22aeadc2adade36958fe03ce8
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