ice: add FW load wait
authorJan Sokolowski <jan.sokolowski@intel.com>
Thu, 13 Jul 2023 13:21:24 +0000 (15:21 +0200)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Mon, 7 Aug 2023 20:01:29 +0000 (13:01 -0700)
commit5708155d902dc881dff7cb3b48098b45ea0847da
tree4e7ca4c9e9fa800462bb491ee093c4fe99688b7c
parent272ad7944a7bb17ee1060ff887402ce759823640
ice: add FW load wait

As some cards load FW from external sources, we have to wait
to be sure that FW is ready before setting link up.

Add check and wait for FW readiness

Signed-off-by: Jan Sokolowski <jan.sokolowski@intel.com>
Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pucha@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_hw_autogen.h
drivers/net/ethernet/intel/ice/ice_main.c