Commit 6e2a3a32 authored by Or Har-Toov's avatar Or Har-Toov Committed by Leon Romanovsky

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: default avatarOr Har-Toov <ohartoov@nvidia.com>
Signed-off-by: default avatarLeon Romanovsky <leonro@nvidia.com>
Link: https://lore.kernel.org/r/75d6dfe263989a05c08c43406132b336ea12d00a.1679230449.git.leon@kernel.orgSigned-off-by: default avatarLeon Romanovsky <leon@kernel.org>
parent e8d018dd
...@@ -1077,7 +1077,9 @@ struct mlx5_ifc_roce_cap_bits { ...@@ -1077,7 +1077,9 @@ struct mlx5_ifc_roce_cap_bits {
u8 sw_r_roce_src_udp_port[0x1]; u8 sw_r_roce_src_udp_port[0x1];
u8 fl_rc_qp_when_roce_disabled[0x1]; u8 fl_rc_qp_when_roce_disabled[0x1];
u8 fl_rc_qp_when_roce_enabled[0x1]; u8 fl_rc_qp_when_roce_enabled[0x1];
u8 reserved_at_7[0x17]; u8 reserved_at_7[0x1];
u8 qp_ooo_transmit_default[0x1];
u8 reserved_at_9[0x15];
u8 qp_ts_format[0x2]; u8 qp_ts_format[0x2];
u8 reserved_at_20[0x60]; u8 reserved_at_20[0x60];
...@@ -1493,7 +1495,8 @@ struct mlx5_ifc_cmd_hca_cap_bits { ...@@ -1493,7 +1495,8 @@ struct mlx5_ifc_cmd_hca_cap_bits {
u8 reserved_at_b0[0x1]; u8 reserved_at_b0[0x1];
u8 uplink_follow[0x1]; u8 uplink_follow[0x1];
u8 ts_cqe_to_dest_cqn[0x1]; u8 ts_cqe_to_dest_cqn[0x1];
u8 reserved_at_b3[0x7]; u8 reserved_at_b3[0x6];
u8 go_back_n[0x1];
u8 shampo[0x1]; u8 shampo[0x1];
u8 reserved_at_bb[0x5]; u8 reserved_at_bb[0x5];
...@@ -3261,7 +3264,8 @@ struct mlx5_ifc_qpc_bits { ...@@ -3261,7 +3264,8 @@ struct mlx5_ifc_qpc_bits {
u8 log_rq_stride[0x3]; u8 log_rq_stride[0x3];
u8 no_sq[0x1]; u8 no_sq[0x1];
u8 log_sq_size[0x4]; u8 log_sq_size[0x4];
u8 reserved_at_55[0x3]; u8 reserved_at_55[0x1];
u8 retry_mode[0x2];
u8 ts_format[0x2]; u8 ts_format[0x2];
u8 reserved_at_5a[0x1]; u8 reserved_at_5a[0x1];
u8 rlky[0x1]; u8 rlky[0x1];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment