Skip to content

Commit

Permalink
net/mlx5: Fix PBMC register mapping
Browse files Browse the repository at this point in the history
[ Upstream commit 534b120 ]

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

Fixes: 50b4a3c ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
  • Loading branch information
Aya Levin authored and gregkh committed Apr 14, 2021
1 parent 1312f11 commit 03ad6a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/mlx5/mlx5_ifc.h
Original file line number Diff line number Diff line change
Expand Up @@ -10058,7 +10058,7 @@ struct mlx5_ifc_pbmc_reg_bits {

struct mlx5_ifc_bufferx_reg_bits buffer[10];

u8 reserved_at_2e0[0x40];
u8 reserved_at_2e0[0x80];
};

struct mlx5_ifc_qtct_reg_bits {
Expand Down

0 comments on commit 03ad6a2

Please sign in to comment.