mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-23 05:56:14 -04:00
ixgbe: Update link setup code to better support autonegotiation of speed
The current code has some flaws in it when performing autonegotiation, especially on KX/KX4 links. This patch updates the code to better handle the autonegotiation states on link setup. The patch also removes a redundant link configuration call on driver load, and moves link configuration to the ->open() path. Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
bc97114d3f
commit
3201d3130e
@@ -80,9 +80,6 @@ s32 ixgbe_start_hw_generic(struct ixgbe_hw *hw)
|
||||
/* Clear the VLAN filter table */
|
||||
hw->mac.ops.clear_vfta(hw);
|
||||
|
||||
/* Set up link */
|
||||
hw->mac.ops.setup_link(hw);
|
||||
|
||||
/* Clear statistics registers */
|
||||
hw->mac.ops.clear_hw_cntrs(hw);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user