Skip to content

Commit 7a32f29

Browse files
EdwardSroSaeed Mahameed
authored andcommitted
net/mlx5: Fix modify_cq_in alignment
Fix modify_cq_in alignment to match the device specification. After this fix the 'cq_umem_valid' field will be in the right offset. Cc: <[email protected]> # 4.19 Fixes: bd37197 ("net/mlx5: Update mlx5_ifc with DEVX UID bits") Signed-off-by: Edward Srouji <[email protected]> Reviewed-by: Yishai Hadas <[email protected]> Signed-off-by: Leon Romanovsky <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
1 parent 987f6c6 commit 7a32f29

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

include/linux/mlx5/mlx5_ifc.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5975,10 +5975,12 @@ struct mlx5_ifc_modify_cq_in_bits {
59755975

59765976
struct mlx5_ifc_cqc_bits cq_context;
59775977

5978-
u8 reserved_at_280[0x40];
5978+
u8 reserved_at_280[0x60];
59795979

59805980
u8 cq_umem_valid[0x1];
5981-
u8 reserved_at_2c1[0x5bf];
5981+
u8 reserved_at_2e1[0x1f];
5982+
5983+
u8 reserved_at_300[0x580];
59825984

59835985
u8 pas[0][0x40];
59845986
};

0 commit comments

Comments
 (0)