Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c01759ce authored by Joachim Fenkes's avatar Joachim Fenkes Committed by Roland Dreier
Browse files

IB/ehca: Return srq_attr->max_sge in ehca_query_srq()



Totally forgot this.

Signed-off-by: default avatarJoachim Fenkes <fenkes@de.ibm.com>
Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
parent a6607223
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1753,6 +1753,7 @@ int ehca_query_srq(struct ib_srq *srq, struct ib_srq_attr *srq_attr)
	}

	srq_attr->max_wr = qpcb->max_nr_outst_recv_wr - 1;
	srq_attr->max_sge = qpcb->actual_nr_sges_in_rq_wqe;
	srq_attr->srq_limit = EHCA_BMASK_GET(
		MQPCB_CURR_SRQ_LIMIT, qpcb->curr_srq_limit);