Skip to content

Commit 0bf6b29

Browse files
committed
RDMA/cxgb4: Set sq_sig_type correctly
JIRA: https://issues.redhat.com/browse/RHEL-61394 commit 25944c0 Author: Guoqing Jiang <guoqing.jiang@linux.dev> Date: Mon Jul 31 17:21:06 2023 +0800 RDMA/cxgb4: Set sq_sig_type correctly Replace '0' with IB_SIGNAL_REQ_WR given the sq_sig_type is either IB_SIGNAL_ALL_WR or IB_SIGNAL_REQ_WR per the below. enum ib_sig_type { IB_SIGNAL_ALL_WR, IB_SIGNAL_REQ_WR }; Signed-off-by: Guoqing Jiang <guoqing.jiang@linux.dev> Link: https://lore.kernel.org/r/20230731092106.10396-1-guoqing.jiang@linux.dev Signed-off-by: Leon Romanovsky <leon@kernel.org> Signed-off-by: Kamal Heib <kheib@redhat.com>
1 parent 25cd253 commit 0bf6b29

File tree

1 file changed

+1
-1
lines changed
  • drivers/infiniband/hw/cxgb4

1 file changed

+1
-1
lines changed

drivers/infiniband/hw/cxgb4/qp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2466,7 +2466,7 @@ int c4iw_ib_query_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr,
24662466
init_attr->cap.max_send_sge = qhp->attr.sq_max_sges;
24672467
init_attr->cap.max_recv_sge = qhp->attr.rq_max_sges;
24682468
init_attr->cap.max_inline_data = T4_MAX_SEND_INLINE;
2469-
init_attr->sq_sig_type = qhp->sq_sig_all ? IB_SIGNAL_ALL_WR : 0;
2469+
init_attr->sq_sig_type = qhp->sq_sig_all ? IB_SIGNAL_ALL_WR : IB_SIGNAL_REQ_WR;
24702470
return 0;
24712471
}
24722472

0 commit comments

Comments
 (0)