diff options
author | Eugenia Emantayev <eugenia@mellanox.com> | 2017-05-25 08:11:26 -0400 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2017-07-27 09:40:17 -0400 |
commit | 0b794ffae7afa7c4e5accac8791c4b78e8d080ce (patch) | |
tree | df13b6bcbd575f105386493c340acad850d0553c | |
parent | 0242f4a0bb03906010bbf80495512be00494a0ef (diff) |
net/mlx5: Fix mlx5_ifc_mtpps_reg_bits structure size
Fix miscalculation in reserved_at_1a0 field.
Fixes: ee7f12205abc ('net/mlx5e: Implement 1PPS support')
Signed-off-by: Eugenia Emantayev <eugenia@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
-rw-r--r-- | include/linux/mlx5/mlx5_ifc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mlx5/mlx5_ifc.h b/include/linux/mlx5/mlx5_ifc.h index 87869c04849a..fd98aef4545c 100644 --- a/include/linux/mlx5/mlx5_ifc.h +++ b/include/linux/mlx5/mlx5_ifc.h | |||
@@ -8175,7 +8175,7 @@ struct mlx5_ifc_mtpps_reg_bits { | |||
8175 | u8 out_pulse_duration[0x10]; | 8175 | u8 out_pulse_duration[0x10]; |
8176 | u8 out_periodic_adjustment[0x10]; | 8176 | u8 out_periodic_adjustment[0x10]; |
8177 | 8177 | ||
8178 | u8 reserved_at_1a0[0x60]; | 8178 | u8 reserved_at_1a0[0x40]; |
8179 | }; | 8179 | }; |
8180 | 8180 | ||
8181 | struct mlx5_ifc_mtppse_reg_bits { | 8181 | struct mlx5_ifc_mtppse_reg_bits { |