]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: add check for VETO bit when configuring link for KR
authorTony Nguyen <anthony.l.nguyen@intel.com>
Wed, 1 Mar 2017 19:52:09 +0000 (11:52 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 18 Apr 2017 20:29:55 +0000 (13:29 -0700)
commit5d4234c5c7047f2e4e862594ebb9fa0f54e52151
tree1c38c99279369b801a7248aa46dc875ddd748190
parent55bf8242c63dca98454600477c635212e663e6f3
ixgbe: add check for VETO bit when configuring link for KR

We did not have a check in place for MMNGC.MNG_VETO when setting up link
on X550EM_X KR devices which resulted in link loss for the BMC when
loading the driver.

This patch adds a check for ixgbe_check_reset_blocked() in setup_link()
since in that case there is no PHY reset function.

Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c