mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-23 04:34:11 +08:00
IB/ehca: Return srq_attr->max_sge in ehca_query_srq()
Totally forgot this. Signed-off-by: Joachim Fenkes <fenkes@de.ibm.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
This commit is contained in:
parent
a660722375
commit
c01759cee9
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user