[openib-general] calling to ibv_create_qp with big number in qp_init_attr.cap.max_ inline_data never return

Dotan Barak dotanb at mellanox.co.il
Mon Jul 18 05:15:07 PDT 2005


when i try to create a QP (in the user level) with the following parameters:

        struct ibv_qp_init_attr qp_init_attr = {
            .qp_type = IBV_QPT_RC,
            .recv_cq = rcq,
            .send_cq = scq,
            .sq_sig_all = 0,
            .cap.max_send_wr = 10,
            .cap.max_send_sge = 10,
            .cap.max_recv_wr = 10,
            .cap.max_recv_sge = 10,
	.cap.max_inline_data = 1075060724
        };

        qp = ibv_create_qp(pd, &qp_init_attr);
        if (qp == NULL) {
            perror("Error, failed to create QP");
            goto cleanup;
        }

the create_qp function never ends.

Dotan Barak
Software Verification Engineer
Mellanox Technologies LTD
mailto:dotanb at mellanox.co.il
Tel: +972-4-9097200 Ext: 231 Fax: +972-4-9593245
P.O. Box 86 Yokneam 20692 ISRAEL.
Home: +972-4-8289408  Cell: 052-4222383

[ May the fork be with you ]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20050718/80edd6cf/attachment.html>


More information about the general mailing list