Skip to content

Commit 6e2a3a3

Browse files
ohartoovrleon
authored andcommitted
net/mlx5: Expose bits for enabling out-of-order by default
Add needed HW bits for enabling out-of-order by default and use go_back_n when out-of-order is not needed. Signed-off-by: Or Har-Toov <ohartoov@nvidia.com> Signed-off-by: Leon Romanovsky <leonro@nvidia.com> Link: https://lore.kernel.org/r/75d6dfe263989a05c08c43406132b336ea12d00a.1679230449.git.leon@kernel.org Signed-off-by: Leon Romanovsky <leon@kernel.org>
1 parent e8d018d commit 6e2a3a3

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

include/linux/mlx5/mlx5_ifc.h

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1077,7 +1077,9 @@ struct mlx5_ifc_roce_cap_bits {
10771077
u8 sw_r_roce_src_udp_port[0x1];
10781078
u8 fl_rc_qp_when_roce_disabled[0x1];
10791079
u8 fl_rc_qp_when_roce_enabled[0x1];
1080-
u8 reserved_at_7[0x17];
1080+
u8 reserved_at_7[0x1];
1081+
u8 qp_ooo_transmit_default[0x1];
1082+
u8 reserved_at_9[0x15];
10811083
u8 qp_ts_format[0x2];
10821084

10831085
u8 reserved_at_20[0x60];
@@ -1493,7 +1495,8 @@ struct mlx5_ifc_cmd_hca_cap_bits {
14931495
u8 reserved_at_b0[0x1];
14941496
u8 uplink_follow[0x1];
14951497
u8 ts_cqe_to_dest_cqn[0x1];
1496-
u8 reserved_at_b3[0x7];
1498+
u8 reserved_at_b3[0x6];
1499+
u8 go_back_n[0x1];
14971500
u8 shampo[0x1];
14981501
u8 reserved_at_bb[0x5];
14991502

@@ -3261,7 +3264,8 @@ struct mlx5_ifc_qpc_bits {
32613264
u8 log_rq_stride[0x3];
32623265
u8 no_sq[0x1];
32633266
u8 log_sq_size[0x4];
3264-
u8 reserved_at_55[0x3];
3267+
u8 reserved_at_55[0x1];
3268+
u8 retry_mode[0x2];
32653269
u8 ts_format[0x2];
32663270
u8 reserved_at_5a[0x1];
32673271
u8 rlky[0x1];

0 commit comments

Comments
 (0)