Fix modify_cq_in alignment to match the device specification. After this fix the 'cq_umem_valid' field will be in the right offset.
Showing the changes to include/linux (1 of 1 file). Show all
Unified · Split
| @@ -5975,10 +5975,12 @@ struct mlx5_ifc_modify_cq_in_bits { · 5974 unmodified lines | ||
| 5975 | 5975 | |
| 5976 | 5976 | struct mlx5_ifc_cqc_bits cq_context; |
| 5977 | 5977 | |
| 5978 | − u8 reserved_at_280[0x40]; | |
| 5978 | + u8 reserved_at_280[0x60]; | |
| 5979 | 5979 | |
| 5980 | 5980 | u8 cq_umem_valid[0x1]; |
| 5981 | − u8 reserved_at_2c1[0x5bf]; | |
| 5981 | + u8 reserved_at_2e1[0x1f]; | |
| 5982 | + | |
| 5983 | + u8 reserved_at_300[0x580]; | |
| 5982 | 5984 | |
| 5983 | 5985 | u8 pas[0][0x40]; |
| 5984 | 5986 | }; |