Skip to content

Commit fb035aa

Browse files
gal-pressmangregkh
authored andcommitted
net/mlx5: Fix MTMP register capability offset in MCAM register
[ Upstream commit 1b9f86c ] The MTMP register (0x900a) capability offset is off-by-one, move it to the right place. Fixes: 1f507e8 ("net/mlx5: Expose NIC temperature via hardware monitoring kernel API") Signed-off-by: Gal Pressman <[email protected]> Reviewed-by: Cosmin Ratiu <[email protected]> Signed-off-by: Tariq Toukan <[email protected]> Reviewed-by: Simon Horman <[email protected]> Signed-off-by: David S. Miller <[email protected]> Signed-off-by: Sasha Levin <[email protected]>
1 parent e5bdf4e commit fb035aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/linux/mlx5/mlx5_ifc.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10158,9 +10158,9 @@ struct mlx5_ifc_mcam_access_reg_bits {
1015810158
u8 mfrl[0x1];
1015910159
u8 regs_39_to_32[0x8];
1016010160

10161-
u8 regs_31_to_10[0x16];
10161+
u8 regs_31_to_11[0x15];
1016210162
u8 mtmp[0x1];
10163-
u8 regs_8_to_0[0x9];
10163+
u8 regs_9_to_0[0xa];
1016410164
};
1016510165

1016610166
struct mlx5_ifc_mcam_access_reg_bits1 {

0 commit comments

Comments
 (0)