Commit 5a3f5e89 authored by Eugenia Emantayev's avatar Eugenia Emantayev Committed by Greg Kroah-Hartman

net/mlx5: Fix mlx5_ifc_mtpps_reg_bits structure size


[ Upstream commit 0b794ffa ]

Fix miscalculation in reserved_at_1a0 field.

Fixes: ee7f1220 ('net/mlx5e: Implement 1PPS support')
Signed-off-by: default avatarEugenia Emantayev <eugenia@mellanox.com>
Signed-off-by: default avatarSaeed Mahameed <saeedm@mellanox.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 31d1e9e7
...@@ -8131,7 +8131,7 @@ struct mlx5_ifc_mtpps_reg_bits { ...@@ -8131,7 +8131,7 @@ struct mlx5_ifc_mtpps_reg_bits {
u8 out_pulse_duration[0x10]; u8 out_pulse_duration[0x10];
u8 out_periodic_adjustment[0x10]; u8 out_periodic_adjustment[0x10];
u8 reserved_at_1a0[0x60]; u8 reserved_at_1a0[0x40];
}; };
struct mlx5_ifc_mtppse_reg_bits { struct mlx5_ifc_mtppse_reg_bits {
......
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