diff options
author | Igor Russkikh <[email protected]> | 2020-08-23 14:19:28 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-08-24 18:01:32 -0700 |
commit | 53916a67c3306bf3afbd1cbf6ea847aa0ef3c21c (patch) | |
tree | 33ea4ed379dfff5231bf3625d0681eaf1958b052 /drivers/fpga/fpga-bridge.c | |
parent | b75d05b2da5c5d0e9b8d80b72a4ba1443d36ef58 (diff) |
qed: implement devlink info request
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:
fw.app 8.42.2.0
stored:
fw.mgmt 8.52.10.0
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.
Signed-off-by: Igor Russkikh <[email protected]>
Signed-off-by: Alexander Lobakin <[email protected]>
Signed-off-by: Michal Kalderon <[email protected]>
Reviewed-by: Jakub Kicinski <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions