Commit 1b9f86c6 authored by Gal Pressman's avatar Gal Pressman Committed by David S. Miller

net/mlx5: Fix MTMP register capability offset in MCAM register

The MTMP register (0x900a) capability offset is off-by-one, move it to
the right place.

Fixes: 1f507e80 ("net/mlx5: Expose NIC temperature via hardware monitoring kernel API")
Signed-off-by: default avatarGal Pressman <gal@nvidia.com>
Reviewed-by: default avatarCosmin Ratiu <cratiu@nvidia.com>
Signed-off-by: default avatarTariq Toukan <tariqt@nvidia.com>
Reviewed-by: default avatarSimon Horman <horms@kernel.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent fca3b479
...@@ -10308,9 +10308,9 @@ struct mlx5_ifc_mcam_access_reg_bits { ...@@ -10308,9 +10308,9 @@ struct mlx5_ifc_mcam_access_reg_bits {
u8 mfrl[0x1]; u8 mfrl[0x1];
u8 regs_39_to_32[0x8]; u8 regs_39_to_32[0x8];
u8 regs_31_to_10[0x16]; u8 regs_31_to_11[0x15];
u8 mtmp[0x1]; u8 mtmp[0x1];
u8 regs_8_to_0[0x9]; u8 regs_9_to_0[0xa];
}; };
struct mlx5_ifc_mcam_access_reg_bits1 { struct mlx5_ifc_mcam_access_reg_bits1 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment