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)
commit1097cd17700c4e9903b7bbfcec1432f61784cb53
tree9920455ace2c9b5618852607658e8efb08fa49ad
parent4227f62db38ed221a49908c224b9fa2b91dc797b
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