Skip to content

Commit

Permalink
Merge pull request #1444 from yishaih/mlx5_dr
Browse files Browse the repository at this point in the history
mlx5: DR, Using sq ts format when RoCE is disabled
  • Loading branch information
rleon authored Apr 1, 2024
2 parents 0fb80a4 + cebd491 commit 6cd0909
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions providers/mlx5/dr_devx.c
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,9 @@ int dr_devx_query_device(struct ibv_context *ctx, struct dr_devx_caps *caps)
caps->roce_caps.fl_rc_qp_when_roce_disabled = DEVX_GET(query_hca_cap_out, out,
capability.cmd_hca_cap.fl_rc_qp_when_roce_disabled);

caps->roce_caps.qp_ts_format = DEVX_GET(query_hca_cap_out, out,
capability.cmd_hca_cap.sq_ts_format);

if (caps->support_modify_argument) {
caps->log_header_modify_argument_granularity =
DEVX_GET(query_hca_cap_out, out,
Expand Down
3 changes: 2 additions & 1 deletion providers/mlx5/mlx5_ifc.h
Original file line number Diff line number Diff line change
Expand Up @@ -1183,7 +1183,8 @@ struct mlx5_ifc_cmd_hca_cap_bits {

u8 general_obj_types[0x40];

u8 reserved_at_440[0x4];
u8 sq_ts_format[0x2];
u8 rq_ts_format[0x2];
u8 steering_format_version[0x4];
u8 create_qp_start_hint[0x18];

Expand Down

0 comments on commit 6cd0909

Please sign in to comment.