net/mlx5/linux: fix firmware version
authorKamil Vojanec <xvojan00@stud.fit.vutbr.cz>
Fri, 5 Feb 2021 09:00:45 +0000 (10:00 +0100)
committerRaslan Darawsheh <rasland@nvidia.com>
Mon, 10 May 2021 09:57:49 +0000 (11:57 +0200)
commit520e3f4888c508dad32da1d8c5486a7be9b0fbba
tree2ea47ea4ea20f22884613762f67be26de14a5148
parent978a0303a3bf41598615a01392e6d4312101c3af
net/mlx5/linux: fix firmware version

This patch fixes a bug where firmware version was not
copied from ibv_device_attr structure into mlx5_dev_attr
structure, resulting in inability to read firmware
version.

Fixes: e85f623e13ea ("net/mlx5: remove attributes dependency on Verbs")
Cc: stable@dpdk.org
Signed-off-by: Kamil Vojanec <xvojan00@stud.fit.vutbr.cz>
Acked-by: Matan Azrad <matan@nvidia.com>
drivers/net/mlx5/linux/mlx5_os.c