]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
net/mlx5: Properly convey driver version to firmware
authorLeon Romanovsky <leonro@nvidia.com>
Thu, 15 Oct 2020 11:52:00 +0000 (14:52 +0300)
committerPaolo Pisati <paolo.pisati@canonical.com>
Mon, 4 Jan 2021 15:37:16 +0000 (16:37 +0100)
commit423c33d9129d6a5d5123fac5024a68e2c2aae94d
treeec481447b8e1304888a6839586a1c05d73702681
parentc5379eb1fa2ad68cfdef237eef3eae7f4abf47ec
net/mlx5: Properly convey driver version to firmware

BugLink: https://bugs.launchpad.net/bugs/1910111
[ Upstream commit 907af0f0cab4ee5d5604f182ecec2c5b5119d294 ]

mlx5 firmware expects driver version in specific format X.X.X, so
make it always correct and based on real kernel version aligned with
the driver.

Fixes: 012e50e109fd ("net/mlx5: Set driver version into firmware")
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
drivers/net/ethernet/mellanox/mlx5/core/main.c