Re: ib_srpt and mellanox mthca device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

> I tryed this patch but it doesnt work i still get
> ib_mthca: Initializing 0000:4b:00.0
> ib_mthca 0000:4b:00.0: irq 49 for MSI/MSI-X
> ib_mthca 0000:4b:00.0: irq 50 for MSI/MSI-X
> ib_mthca 0000:4b:00.0: irq 51 for MSI/MSI-X
> srpt_add_one(mthca0) failed.

Hmm, in srpt_add_one(), where it says

	sdev->srq = ib_create_srq(sdev->pd, &srq_attr);
	if (IS_ERR(sdev->srq))
		goto err_mr;

can you change that to

	sdev->srq = ib_create_srq(sdev->pd, &srq_attr);
	if (IS_ERR(sdev->srq)) {
                pr_err("ib_create_srq failed: %d\n", PTR_ERR(sdev->srq));
		goto err_mr;

and report what that prints?

Also, does the userspace test program ibv_srq_pingpong from libibverbs
work on this system?

 - R.
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at

[Home]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Free Online Dating]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Devices]

Add to Google Powered by Linux