Re: ibv_reg_mr call failed

2013-06-09 Thread Or Gerlitz
On 08/06/2013 19:42, Liu Ginhann wrote: does this works if you use get_free_pages in the kernel instead of kmem_cache? I tried get_free_pages, kmalloc, kmem_cache_alloc. None of them work, it failed with the same error - EFAULT bad pointer. After code walk through, I believe it failed in ib_u

Re: ibv_reg_mr call failed

2013-05-30 Thread Or Gerlitz
iginates > > Hank > >> -Original Message- >> From: linux-rdma-ow...@vger.kernel.org [mailto:linux-rdma- >> ow...@vger.kernel.org] On Behalf Of Or Gerlitz >> Sent: Monday, May 27, 2013 12:53 AM >> To: Liu Ginhann >> Cc: Or Gerlitz; linux-rdma@vger.kernel.org >&

RE: ibv_reg_mr call failed

2013-05-30 Thread Liu Ginhann
alf Of Or Gerlitz > Sent: Monday, May 27, 2013 12:53 AM > To: Liu Ginhann > Cc: Or Gerlitz; linux-rdma@vger.kernel.org > Subject: Re: ibv_reg_mr call failed > > On Sun, May 26, 2013 at 4:52 PM, Liu Ginhann > wrote: > > Will dig into it.Thanks. > > > >

Re: ibv_reg_mr call failed

2013-05-27 Thread Or Gerlitz
On Sun, May 26, 2013 at 4:52 PM, Liu Ginhann wrote: > Will dig into it.Thanks. does this works if you use get_free_pages in the kernel instead of kmem_cache? Or. -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majord...@vger.kernel.org More

Re: ibv_reg_mr call failed

2013-05-26 Thread Liu Ginhann
Will dig into it.Thanks. On May 26, 2013, at 6:36 AM, "Or Gerlitz" wrote: > On 24/05/2013 20:43, Liu Ginhann wrote: >> Ibv_reg_mr() call return EFAULT - bad address > > Basically, AFAIK, the IB stack should support what you are trying to do, If > you tell from which code e.g in libibverbs/li

Re: ibv_reg_mr call failed

2013-05-26 Thread Or Gerlitz
On 24/05/2013 20:43, Liu Ginhann wrote: Ibv_reg_mr() call return EFAULT - bad address Basically, AFAIK, the IB stack should support what you are trying to do, If you tell from which code e.g in libibverbs/libmlx4 or the kernel this value is returned, it might be helpful for further assisting

Re: ibv_reg_mr call failed

2013-05-26 Thread Liu Ginhann
Mellanox connectx-3 mlx4. On May 25, 2013, at 11:59 PM, "Or Gerlitz" wrote: > On 24/05/2013 20:43, Liu Ginhann wrote: >> Here is version information of our test chassis, > what driver / card are you using? > -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the bod

Re: ibv_reg_mr call failed

2013-05-25 Thread Or Gerlitz
On 24/05/2013 20:43, Liu Ginhann wrote: Here is version information of our test chassis, what driver / card are you using? -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.or