Commit 9ee473c2 authored by Lama Kayal's avatar Lama Kayal Committed by Saeed Mahameed
Browse files

net/mlx5: Fix reserved at offset in hca_cap register



A member of struct mlx5_ifc_cmd_hca_cap_bits has been mistakenly
assigned the wrong reserved_at offset value. Correct it to align to the
right value, thus avoid future miscalculation.

Signed-off-by: default avatarLama Kayal <lkayal@nvidia.com>
Reviewed-by: default avatarTariq Toukan <tariqt@nvidia.com>
Reviewed-by: default avatarRahul Rameshbabu <rrameshbabu@nvidia.com>
Signed-off-by: default avatarSaeed Mahameed <saeedm@nvidia.com>
parent 25c24801
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -1710,9 +1710,9 @@ struct mlx5_ifc_cmd_hca_cap_bits {
	u8         regexp_params[0x1];
	u8         regexp_params[0x1];
	u8         uar_sz[0x6];
	u8         uar_sz[0x6];
	u8         port_selection_cap[0x1];
	u8         port_selection_cap[0x1];
	u8         reserved_at_248[0x1];
	u8         reserved_at_251[0x1];
	u8         umem_uid_0[0x1];
	u8         umem_uid_0[0x1];
	u8         reserved_at_250[0x5];
	u8         reserved_at_253[0x5];
	u8         log_pg_sz[0x8];
	u8         log_pg_sz[0x8];


	u8         bf[0x1];
	u8         bf[0x1];