Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Joachim Fenkes and committed by
Roland Dreier
c01759ce a6607223

+1
+1
drivers/infiniband/hw/ehca/ehca_qp.c
··· 1753 1753 } 1754 1754 1755 1755 srq_attr->max_wr = qpcb->max_nr_outst_recv_wr - 1; 1756 + srq_attr->max_sge = qpcb->actual_nr_sges_in_rq_wqe; 1756 1757 srq_attr->srq_limit = EHCA_BMASK_GET( 1757 1758 MQPCB_CURR_SRQ_LIMIT, qpcb->curr_srq_limit); 1758 1759