OSDN Git Service

ixgbe: Allow reduced delays during SFP detection
authorMark Rustad <mark.d.rustad@intel.com>
Sat, 8 Aug 2015 23:18:22 +0000 (16:18 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 24 Sep 2015 05:27:18 +0000 (22:27 -0700)
commit56f6ed1ce13b0cb85ae9537f839df7c4ba1f5369
treef87cefd29192e9527b45353d119c6f6cf0da4877
parent6ee8c9a70d65ee37251465348501a067138050d7
ixgbe: Allow reduced delays during SFP detection

Reduce the number of retries during PHY detection. This reduces
pauses when no SFP is present. Once an SFP is detected, the normal
retry count will be used.

Signed-off-by: Mark Rustad <mark.d.rustad@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c
drivers/net/ethernet/intel/ixgbe/ixgbe_phy.h