]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Fix PBMC register mapping
authorAya Levin <ayal@nvidia.com>
Sun, 4 Apr 2021 09:55:00 +0000 (12:55 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Wed, 7 Apr 2021 04:04:36 +0000 (21:04 -0700)
commit8385280d990fdd15cfe3203dffe26132566df18f
treebca5f353d32bafc4b0eda16d5445b650199ccd28
parent5f5d3d2b89dc669d0c46054e75b65e26514c92f7
net/mlx5: Fix PBMC register mapping

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

Fixes: 1bc56d5c2acb ("net/mlx5: PPTB and PBMC register firmware command support")
Signed-off-by: Aya Levin <ayal@nvidia.com>
Reviewed-by: Moshe Shemesh <moshe@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
include/linux/mlx5/mlx5_ifc.h