lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Fri, 21 Aug 2020 10:32:18 -0700
From:   Jakub Kicinski <>
To:     Igor Russkikh <>
Cc:     <>, "David S . Miller" <>,
        Ariel Elior <>,
        Michal Kalderon <>,
        "Alexander Lobakin" <>,
        Michal Kalderon <>
Subject: Re: [PATCH v6 net-next 04/10] qed: implement devlink info request

On Thu, 20 Aug 2020 21:51:58 +0300 Igor Russkikh wrote:
> Here we return existing fw & mfw versions, we also fetch device's
> serial number:
> ~$ sudo ~/iproute2/devlink/devlink  dev info
> pci/0000:01:00.1:
>   driver qed
>   board.serial_number REE1915E44552
>   versions:
>       running:
>       stored:
>         fw.mgmt

Are you not able to report the running version of the stored firmware?
The two sections are used for checking if machine needs fw-activation
or reboot (i.e. if fw.mgmt in stored section does not match fw.mgmt in
running - there is a new FW to activate).

> MFW and FW are different firmwares on device.
> Management is a firmware responsible for link configuration and
> various control plane features. Its permanent and resides in NVM.
> Running FW (or fastpath FW) is an embedded microprogram implementing
> all the packet processing, offloads, etc. This FW is being loaded
> on each start by the driver from FW binary blob.
> The base device specific structure (qed_dev_info) was not directly
> available to the base driver before. Thus, here we create and store
> a private copy of this structure in qed_dev root object to
> access the data.

In general looks good:

Reviewed-by: Jakub Kicinski <>

Powered by blists - more mailing lists