While testing the cxgb3 iwarp driver, I noticed that mthca is not
setting the max_sge_rd attribute. Dunno if the limits.max_sg is the
correct value, but it seemed like the only reasonable one...
Signed-off-by: Steve Wise <[EMAIL PROTECTED]>
Index: mthca_provider.c
===================================================================
--- mthca_provider.c (revision 6243)
+++ mthca_provider.c (working copy)
@@ -97,6 +97,7 @@
props->max_qp = mdev->limits.num_qps -
mdev->limits.reserved_qps;
props->max_qp_wr = mdev->limits.max_wqes;
props->max_sge = mdev->limits.max_sg;
+ props->max_sge_rd = mdev->limits.max_sg;
props->max_cq = mdev->limits.num_cqs -
mdev->limits.reserved_cqs;
props->max_cqe = mdev->limits.max_cqes;
props->max_mr = mdev->limits.num_mpts -
mdev->limits.reserved_mrws;
_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general
To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general