]> 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)
commit2918faa33e984a38281e934640ae3caea3885152
tree651571d8bf14b7222fe17a75be2eb30f94e042c0
parentb57ed9b6938a489df4154bb6046c102577fa4f06
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