]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: Fix 82599 multispeed fiber link issues due to Tx laser flapping
authorMallikarjuna R Chilakala <mallikarjuna.chilakala@intel.com>
Thu, 18 Mar 2010 14:34:52 +0000 (14:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Mar 2010 05:14:27 +0000 (22:14 -0700)
commit38cfb731485d2e6ac890d9b5c43c352fe3a9f740
tree9920455ace2c9b5618852607658e8efb08fa49ad
parent41fba6fc6312fcb5d1f76543e15e5c39c2d5e968
ixgbe: Fix 82599 multispeed fiber link issues due to Tx laser flapping

Fix 82599 link issues during driver load and unload test using multi-speed
10G & 1G fiber modules. When connected back to back sometime 82599 multispeed
fiber modules would link at 1G speed instead of 10G highest speed, due to a
race condition in autotry process involving Tx laser flapping. Move autotry
autoneg-37 tx laser flapping process from multispeed module init setup
to driver unload. This will alert the link partner to restart its
autotry process when it tries to establish the link with the link partner

Signed-off-by: Mallikarjuna R Chilakala <mallikarjuna.chilakala@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ixgbe/ixgbe_82599.c
drivers/net/ixgbe/ixgbe_main.c
drivers/net/ixgbe/ixgbe_type.h