public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* ib_create_qp failing
@ 2018-01-29  8:50 Joel Nider
       [not found] ` <OF089AD255.99D19AC9-ONC2258224.002F8CF2-C2258224.00309558-8eTO7WVQ4XIsd+ienQ86orlN3bxYEBpz@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Joel Nider @ 2018-01-29  8:50 UTC (permalink / raw)
  To: linux-rdma-u79uwXL29TY76Z2rM5mHXA

Hi,

I have been trying to implement a kernel module (kernel 4.12) that opens 
an Infiniband connection, but have run into difficulties.  The call to 
ib_create_qp() fails with -EINVAL.  I have successfully set up the 
completion queues and protection domain. I have called ib_query_port() 
beforehand, which helps (I get farther along) but the ib_create_qp() call 
still fails.

>From userspace, I have no problems moving data over RoCE, so I'm assuming 
my hardware, kernel, OFED, etc are all OK.

I have used the net/smc module extensively as a reference, but there seems 
to be something fundamental that I'm missing.  How can I find out what's 
going wrong here?

Thanks,
Joel


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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-01-31 13:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-29  8:50 ib_create_qp failing Joel Nider
     [not found] ` <OF089AD255.99D19AC9-ONC2258224.002F8CF2-C2258224.00309558-8eTO7WVQ4XIsd+ienQ86orlN3bxYEBpz@public.gmane.org>
2018-01-29 19:04   ` Ilya Lesokhin
     [not found]     ` <AM4PR0501MB27239EF18E2C07A64B045674D4E50-dp/nxUn679gUhbbWvQuVF8DSnupUy6xnnBOFsp37pqbUKgpGm//BTAC/G2K4zDHf@public.gmane.org>
2018-01-29 20:18       ` Joel Nider
     [not found]         ` <OF09394B7D.58CD59F8-ONC2258224.006BDAF8-C2258224.006F854D-8eTO7WVQ4XIsd+ienQ86orlN3bxYEBpz@public.gmane.org>
2018-01-29 20:47           ` Mark Bloch
     [not found]             ` <fd693fbd-1387-0298-49d0-035e224f07d8-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2018-01-30  8:30               ` Joel Nider
     [not found]                 ` <OF85410752.DF2BA5BF-ONC2258225.002CFF83-C2258225.002EB65B-8eTO7WVQ4XIsd+ienQ86orlN3bxYEBpz@public.gmane.org>
2018-01-31 13:58                   ` Leon Romanovsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox