]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net/mlx5: Fix PPLM register mapping
authorAya Levin <ayal@nvidia.com>
Sun, 4 Apr 2021 07:50:50 +0000 (10:50 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Apr 2021 06:47:23 +0000 (08:47 +0200)
commit5bc62430494d797bedd933aeff8afdadcd7b5ee4
tree53daeff1faf5429aaed5cf03c5711fe52241bdeb
parent90240cbac0bbeaeb5f2f73303ca1260140eb23f1
net/mlx5: Fix PPLM register mapping

[ Upstream commit ce28f0fd670ddffcd564ce7119bdefbaf08f02d3 ]

Add reserved mapping to cover all the register in order to avoid
setting arbitrary values to newer FW which implements the reserved
fields.

Fixes: a58837f52d43 ("net/mlx5e: Expose FEC feilds and related capability bit")
Signed-off-by: Aya Levin <ayal@nvidia.com>
Reviewed-by: Moshe Shemesh <moshe@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/linux/mlx5/mlx5_ifc.h