|
The init attributes are being updated with the actual SRQ
values in the mthca. Signed-off-by: Dotan Barak <[EMAIL PROTECTED]> Index: latest/drivers/infiniband/hw/mthca/mthca_srq.c =================================================================== --- latest.orig/drivers/infiniband/hw/mthca/mthca_srq.c
2006-02-20 08:04:06.000000000 +0200 +++ latest/drivers/infiniband/hw/mthca/mthca_srq.c 2006-02-20 11:26:04.000000000 +0200 @@ -268,6 +268,9 @@ int mthca_alloc_srq(struct mthca_dev *de srq->first_free = 0; srq->last_free = srq->max - 1; + attr->max_wr = srq->max; + attr->max_sge = srq->max_gs; + return 0; err_out_free_srq: Dotan
Barak Software Verification Engineer Mellanox Technologies Tel: +972-4-9097200 Ext: 231 Fax: +972-4-9593245 P.O. Box 86 Yokneam 20692 ISRAEL. Home: +972-77-8841095 Cell: 052-4222383 |
_______________________________________________ openib-general mailing list [email protected] http://openib.org/mailman/listinfo/openib-general
To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
