From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roland Dreier Subject: Re: ib_srpt and mellanox mthca device Date: Thu, 12 Apr 2012 07:46:29 -0700 Message-ID: References: <5f95768153388b91a2ffa0cd118d7ad8@omrb.pnpi.spb.ru> <97cccba5ba7ddc74e87b0791050fa755@omrb.pnpi.spb.ru> <806c99edea592c69d0aa9073bae2a3b9@omrb.pnpi.spb.ru> <2f4564980ae4cdafdc456a8e41b4ab04@omrb.pnpi.spb.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Alexey Shvetsov Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-rdma@vger.kernel.org On Thu, Apr 12, 2012 at 2:09 AM, Roland Dreier = wrote: > Are you sure you're actually loading the patched module? > I don't see how it could fail to print something if ib_create_srq() > fails. =A0You could try adding a printk() to the very beginning of > srpt_add_one() and making sure that shows up. > > (That would explain why my first patch didn't fix things for you) Indeed, I just replicated your problem on my system and confirmed that the patch adding "srq_attr.srq_type =3D IB_SRQT_BASIC" does let mthca devices get through srpt_add_one(). I'll get ready to send that fix upstream. It seems quite likely you forgot to install the patched ib_srpt module or something similar. Thanks, Roland -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" i= n the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html