net/ice/base: expose link configuration error
authorQi Zhang <qi.z.zhang@intel.com>
Tue, 2 Mar 2021 07:23:48 +0000 (15:23 +0800)
committerQi Zhang <qi.z.zhang@intel.com>
Fri, 5 Mar 2021 08:27:08 +0000 (09:27 +0100)
commit92533e9dfe7501a64b54260420cf00ece7352056
tree788b72dd1219b7dda51458c87e18910d4ddb76a3
parent535985974b2b58a1995d9debf0174548bfbb6c60
net/ice/base: expose link configuration error

Store the link_cfg_err byte in order to determine whether an unsupported
power configuration is preventing link establishment.

Signed-off-by: Jeb Cramer <jeb.j.cramer@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_adminq_cmd.h
drivers/net/ice/base/ice_common.c
drivers/net/ice/base/ice_type.h