]> www.infradead.org Git - users/jedix/linux-maple.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)
committerJack Vogel <jack.vogel@oracle.com>
Fri, 16 Jun 2017 06:01:24 +0000 (23:01 -0700)
commita90c2092544767d5041e49e486aa6ee837010844
treeca1821aaa1b8567becc6120af3e1a2be7a20201f
parentadd4d87d3024558c2a024fc665f7ca4d0d2032ad
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>
Orabug: 26242766
(cherry picked from commit f4a6374ba46132896154397ce3c559ccb0d15e60)
Signed-off-by: Jack Vogel <jack.vogel@oracle.com>
Reviewed-by: Ethan Zhao <ethan.zhao@oracle.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c