]> git.baikalelectronics.ru Git - kernel.git/commit
ice: Ignore EMODE when setting PHY config
authorChinh T Cao <chinh.t.cao@intel.com>
Sat, 16 May 2020 00:55:06 +0000 (17:55 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sun, 31 May 2020 11:01:16 +0000 (04:01 -0700)
commitbce84992a6bd8bd5c1796e29ba1ee5cb222008e2
tree651571d8bf14b7222fe17a75be2eb30f94e042c0
parent24d0effb15b580402786b1b73bc3df8384335703
ice: Ignore EMODE when setting PHY config

When setting the PHY cfg (CQ cmd 0x0601), if the firmware responds
with an EMODE error, software will ignore the error as it simply
means that manageability (ex: BMC) is in control of the link and that
the new setting may not be applied.

Signed-off-by: Chinh T Cao <chinh.t.cao@intel.com>
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/ice/ice_adminq_cmd.h
drivers/net/ethernet/intel/ice/ice_common.c
drivers/net/ethernet/intel/ice/ice_main.c