ice: don't always return an error for Get PHY Abilities AQ command
authorPaul M Stillwell Jr <paul.m.stillwell.jr@intel.com>
Thu, 17 Sep 2020 20:13:40 +0000 (13:13 -0700)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Wed, 9 Dec 2020 16:11:54 +0000 (08:11 -0800)
commitf2651a91b97d140e183dcc3198deba7f72198e54
tree9ab6aabf172a9668b7309f919195aabb5b9d8bcb
parent88dcfdb4cd82ff3c4cf5d4874fabb6adaaf1ce63
ice: don't always return an error for Get PHY Abilities AQ command

There are times when the driver shouldn't return an error when the Get
PHY abilities AQ command (0x0600) returns an error. Instead the driver
should log that the error occurred and continue on. This allows the
driver to load even though the AQ command failed. The user can then
later determine the reason for the failure and correct it.

Signed-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_common.c