All of lore.kernel.org
 help / color / mirror / Atom feed
From: Roland Dreier <roland-BHEL68pLQRGGvPXPguhicg@public.gmane.org>
To: Alexey Shvetsov <alexxy-aBrp7R+bbdUdnm+yROfE0A@public.gmane.org>
Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: ib_srpt and mellanox mthca device
Date: Wed, 11 Apr 2012 18:24:11 -0700	[thread overview]
Message-ID: <CAL1RGDXT1gshgxA+c9M==zxarKnjKZtcy4dROtOnKVmc9+u9HQ@mail.gmail.com> (raw)
In-Reply-To: <806c99edea592c69d0aa9073bae2a3b9-heEE5zn7HfaV8fSEjHp0FA@public.gmane.org>

> 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?

Thanks,
 - R.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2012-04-12  1:24 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-10 14:52 Alexey Shvetsov
     [not found] ` <5f95768153388b91a2ffa0cd118d7ad8-heEE5zn7HfaV8fSEjHp0FA@public.gmane.org>
2012-04-10 23:09   ` Roland Dreier
     [not found]     ` <CAL1RGDWNqMdQGrXbh2gj==_KvVRF1mUQw2D3NqEhjvuq2q2+6Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-04-11  9:21       ` Alexey Shvetsov
     [not found]         ` <97cccba5ba7ddc74e87b0791050fa755-heEE5zn7HfaV8fSEjHp0FA@public.gmane.org>
2012-04-11 20:06           ` Roland Dreier
     [not found]             ` <CAL1RGDVbqOQP+AH4f9cs+mEngXVTOy7r7gRjJ=SU_rMmvCg3Qg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-04-11 20:13               ` Alexey Shvetsov
     [not found]                 ` <fa3a67e9423946c0bbd23abb3f60921a-heEE5zn7HfaV8fSEjHp0FA@public.gmane.org>
2012-04-11 22:15                   ` Roland Dreier
     [not found]                     ` <CAL1RGDVn1Roo-KaZW_r_WAQudbEZ2+mXD2RqNS68Rg=UBTRe7Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-04-11 23:21                       ` Alexey Shvetsov
     [not found]                         ` <806c99edea592c69d0aa9073bae2a3b9-heEE5zn7HfaV8fSEjHp0FA@public.gmane.org>
2012-04-12  1:24                           ` Roland Dreier [this message]
     [not found]                             ` <CAL1RGDXT1gshgxA+c9M==zxarKnjKZtcy4dROtOnKVmc9+u9HQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-04-12  5:52                               ` Alexey Shvetsov
     [not found]                                 ` <2f4564980ae4cdafdc456a8e41b4ab04-heEE5zn7HfaV8fSEjHp0FA@public.gmane.org>
2012-04-12  9:09                                   ` Roland Dreier
     [not found]                                     ` <CAL1RGDVh=n5rEB5GqmPaDvuNAKRkoVEro9LYr785zQpz7xR0vg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-04-12 14:46                                       ` Roland Dreier
     [not found]                                         ` <CAL1RGDXFVTD88ZF9rWoaDpOU7PuzdPcF7PSP4Ac6icgD=FPQLQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-04-12 18:58                                           ` Alexey Shvetsov
2012-04-12 19:02                                           ` Alexey Shvetsov
2012-04-12 19:17                                             ` Roland Dreier
     [not found]                                             ` <CAL1RGDVjhpzSDUvkpdkG8u2YPwAWmt_szUw=wb3j3=gsb-iW-g@mail.gmai l.com>
     [not found]                                               ` <CAL1RGDVjhpzSDUvkpdkG8u2YPwAWmt_szUw=wb3j3=gsb-iW-g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-04-12 20:59                                                 ` Andy Grover
     [not found]                                                   ` <4F87423D.8010104-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2012-04-12 21:18                                                     ` Alexey Shvetsov
2012-04-12 22:01                                                       ` Andy Grover
2012-04-13  4:00                                                       ` Nicholas A. Bellinger
     [not found]                                                         ` <1334289638.3137.4938.camel-Y1+j5t8j3WgjMeEPmliV8E/sVC8ogwMJ@public.gmane.org>
2012-04-13  8:47                                                           ` Alexey Shvetsov
     [not found]                                                             ` <273131eb997f295f6b1f3d103a7013d4-heEE5zn7HfaV8fSEjHp0FA@public.gmane.org>
2012-04-14  1:27                                                               ` Nicholas A. Bellinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAL1RGDXT1gshgxA+c9M==zxarKnjKZtcy4dROtOnKVmc9+u9HQ@mail.gmail.com' \
    --to=roland-bhel68plqrggvpxpguhicg@public.gmane.org \
    --cc=alexxy-aBrp7R+bbdUdnm+yROfE0A@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --subject='Re: ib_srpt and mellanox mthca device' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.