git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8687bd
)
net/ixgbe/base: add link block check for KR
author
Wenzhuo Lu
<wenzhuo.lu@intel.com>
Wed, 1 Mar 2017 06:04:46 +0000
(14:04 +0800)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Tue, 4 Apr 2017 13:52:50 +0000
(15:52 +0200)
When setting up link on x550 KR devices, should check
if there are constraints on link from manageability, which
may result in link loss.
Signed-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
drivers/net/ixgbe/base/ixgbe_x550.c
patch
|
blob
|
history
diff --git
a/drivers/net/ixgbe/base/ixgbe_x550.c
b/drivers/net/ixgbe/base/ixgbe_x550.c
index
a28ced1
..
1058684
100644
(file)
--- a/
drivers/net/ixgbe/base/ixgbe_x550.c
+++ b/
drivers/net/ixgbe/base/ixgbe_x550.c
@@
-2663,6
+2663,9
@@
s32 ixgbe_setup_kr_x550em(struct ixgbe_hw *hw)
if (hw->phy.autoneg_advertised & IXGBE_LINK_SPEED_2_5GB_FULL)
return IXGBE_SUCCESS;
+ if (ixgbe_check_reset_blocked(hw))
+ return 0;
+
return ixgbe_setup_kr_speed_x550em(hw, hw->phy.autoneg_advertised);
}