History

RDMA/mlx5: Return ECE DC support

The DC QPs are many-to-one QP types that means that first connection will establish ECE options that coming connections should follow. Due to this property, the ECE code was removed between first [1] and second [2] ECE submissions. This patch returns the dropped code, because ECE is a property of a connection and like any other connection users are needed to manage this data. Allow them to set ECE parameter for DC too and avoid need of having compatibility flag for the DC ECE. [1] https://lore.kernel.org/linux-rdma/20200523132243.817936-1-leon@kernel.org/ [2] https://lore.kernel.org/linux-rdma/20200525174401.71152-1-leon@kernel.org/

Leon Romanovsky committed 6 years ago

Commit a645a891 parent 92cd6672 files · +34 −16Browse files

Showing the changes to include/linux (1 of 2 files). Show all

Unified · Split

include/linux/mlx5/mlx5_ifc.h+3−2
@@ -3690,7 +3690,8 @@ struct mlx5_ifc_dctc_bits { · 3689 unmodified lines
36903690 u8 ecn[0x2];
36913691 u8 dscp[0x6];
36923692
3693− u8 reserved_at_1c0[0x40];
3693+ u8 reserved_at_1c0[0x20];
3694+ u8 ece[0x20];
36943695 };
36953696
36963697 enum {
@@ -7940,7 +7941,7 @@ struct mlx5_ifc_create_dct_out_bits { · 4243 unmodified lines
79407941 u8 reserved_at_40[0x8];
79417942 u8 dctn[0x18];
79427943
7943− u8 reserved_at_60[0x20];
7944+ u8 ece[0x20];
79447945 };
79457946
79467947 struct mlx5_ifc_create_dct_in_bits {