[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aa574a42-ebd9-4bda-abe0-a85d969a8eef@molgen.mpg.de>
Date: Tue, 28 Nov 2023 19:39:09 +0100
From: Paul Menzel <pmenzel@...gen.mpg.de>
To: Sachin Bahadur <sachin.bahadur@...el.com>
Cc: intel-wired-lan@...ts.osuosl.org, netdev@...r.kernel.org
Subject: Re: [Intel-wired-lan] [PATCH iwl-next v1] ice: Print NIC FW version
during init
Dear Sachin,
Thank you for the patch.
Am 28.11.23 um 19:35 schrieb Sachin Bahadur:
> Print NIC FW version during PF initialization. FW version in dmesg is used
> to identify and isolate issues. Particularly useful when dmesg is read
> after reboot.
Please paste one example log line into the commit message.
> Reviewed-by: Pawel Kaminski <pawel.kaminski@...el.com>
> Signed-off-by: Sachin Bahadur <sachin.bahadur@...el.com>
> ---
> drivers/net/ethernet/intel/ice/ice_main.c | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/drivers/net/ethernet/intel/ice/ice_main.c b/drivers/net/ethernet/intel/ice/ice_main.c
> index 1f159b4362ec..71d3d8cfdd1d 100644
> --- a/drivers/net/ethernet/intel/ice/ice_main.c
> +++ b/drivers/net/ethernet/intel/ice/ice_main.c
> @@ -4568,6 +4568,12 @@ static int ice_init_dev(struct ice_pf *pf)
> dev_err(dev, "ice_init_hw failed: %d\n", err);
> return err;
> }
> + dev_info(dev, "fw %u.%u.%u api %u.%u.%u nvm %u.%u 0x%08x %u.%u.%u\n",
> + hw->fw_maj_ver, hw->fw_min_ver, hw->fw_patch, hw->api_maj_ver,
> + hw->api_min_ver, hw->api_patch, hw->flash.nvm.major,
> + hw->flash.nvm.minor, hw->flash.nvm.eetrack,
> + hw->flash.orom.major, hw->flash.orom.build,
> + hw->flash.orom.patch);
>
> /* Some cards require longer initialization times
> * due to necessity of loading FW from an external source.
Reviewed-by: Paul Menzel <pmenzel@...gen.mpg.de>
Kind regards,
Paul
Powered by blists - more mailing lists