net/ice/base: ignore EMODE when setting PHY config
authorQi Zhang <qi.z.zhang@intel.com>
Mon, 30 Mar 2020 11:45:25 +0000 (19:45 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 21 Apr 2020 11:57:05 +0000 (13:57 +0200)
commite40daec8c66f19f02b24076adb69254d0d09d9fb
treeffec8bde1b0598823ffe12e127ceec04e0f02eed
parent58283d1b88eec5c2b11ad4905e59859097f89141
net/ice/base: 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: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Qiming Yang <qiming.yang@intel.com>
drivers/net/ice/base/ice_common.c