Skip to content

Commit

Permalink
net/mlx5: Fix PBMC register mapping
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Aya Levin authored and Saeed Mahameed committed Apr 7, 2021
1 parent ce28f0f commit 534b120
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 @@ -10200,7 +10200,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 534b120

Please sign in to comment.