All of lore.kernel.org
 help / color / mirror / Atom feed
* Support for Memory windows.
@ 2010-11-15 15:06 Romulo Goncalves
       [not found] ` <4CE14C82.9020907-rh8NL+sEX9E@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Romulo Goncalves @ 2010-11-15 15:06 UTC (permalink / raw)
  To: linux-rdma-u79uwXL29TY76Z2rM5mHXA

Hello,

For my PhD project I have been using RDMA over inifiniband.
Until now I have used memory regions, but now I would like to also define memory windows.

The steps taken are the following ones:
Register a memory region.
Alloc a window
bind the window to the registered memory region.

The memory region registration worked as expected, however, the call of the function to alloc the memory window did not. 
It seems there is not an implementation for the functions to alloc, bind, and dealloc a memory window.

I looked into verbs.h and I found the reference to the functions in the context_ops:

struct ibv_context_ops {
....
         struct ibv_mw * (*alloc_mw)(struct ibv_pd *pd, enum ibv_mw_type type);
         int                     (*bind_mw)(struct ibv_qp *qp, struct ibv_mw *mw, struct ibv_mw_bind *mw_bind);
         int                     (*dealloc_mw)(struct ibv_mw *mw);
....
}

However, I do not see their declaration or implementation anywhere else.
Could be the version of my openfabrics does not support memory windows?

Thank you for your attention.

Best Regards,
Romulo Goncalves
--
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] 4+ messages in thread

* Re: Support for Memory windows.
       [not found] ` <4CE14C82.9020907-rh8NL+sEX9E@public.gmane.org>
@ 2010-11-16 13:01   ` Tziporet Koren
       [not found]     ` <4CE280BD.8080505-VPRAkNaXOzVS1MOuV/RT9w@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Tziporet Koren @ 2010-11-16 13:01 UTC (permalink / raw)
  To: Romulo Goncalves; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA

  On 11/15/2010 5:06 PM, Romulo Goncalves wrote:
> Hello,
>
> For my PhD project I have been using RDMA over inifiniband.
> Until now I have used memory regions, but now I would like to also define memory windows.
>
> The steps taken are the following ones:
> Register a memory region.
> Alloc a window
> bind the window to the registered memory region.
>
> The memory region registration worked as expected, however, the call of the function to alloc the memory window did not.
> It seems there is not an implementation for the functions to alloc, bind, and dealloc a memory window.
>
> I looked into verbs.h and I found the reference to the functions in the context_ops:
>
> struct ibv_context_ops {
> ....
>           struct ibv_mw * (*alloc_mw)(struct ibv_pd *pd, enum ibv_mw_type type);
>           int                     (*bind_mw)(struct ibv_qp *qp, struct ibv_mw *mw, struct ibv_mw_bind *mw_bind);
>           int                     (*dealloc_mw)(struct ibv_mw *mw);
> ....
> }
>
> However, I do not see their declaration or implementation anywhere else.
> Could be the version of my openfabrics does not support memory windows?
>
Memory Windows have not been implemented

Tziporet

--
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] 4+ messages in thread

* Re: Support for Memory windows.
       [not found]     ` <4CE280BD.8080505-VPRAkNaXOzVS1MOuV/RT9w@public.gmane.org>
@ 2010-11-18 12:45       ` Romulo Goncalves
       [not found]         ` <4CE51FDF.10705-rh8NL+sEX9E@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Romulo Goncalves @ 2010-11-18 12:45 UTC (permalink / raw)
  To: Tziporet Koren; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA

On 16/11/10 14:01, Tziporet Koren wrote:
>   On 11/15/2010 5:06 PM, Romulo Goncalves wrote:
>> Hello,
>>
>> For my PhD project I have been using RDMA over inifiniband.
>> Until now I have used memory regions, but now I would like to also
>> define memory windows.
>>
>> The steps taken are the following ones:
>> Register a memory region.
>> Alloc a window
>> bind the window to the registered memory region.
>>
>> The memory region registration worked as expected, however, the call
>> of the function to alloc the memory window did not.
>> It seems there is not an implementation for the functions to alloc,
>> bind, and dealloc a memory window.
>>
>> I looked into verbs.h and I found the reference to the functions in
>> the context_ops:
>>
>> struct ibv_context_ops {
>> ....
>>           struct ibv_mw * (*alloc_mw)(struct ibv_pd *pd, enum
>> ibv_mw_type type);
>>           int                     (*bind_mw)(struct ibv_qp *qp, struct
>> ibv_mw *mw, struct ibv_mw_bind *mw_bind);
>>           int                     (*dealloc_mw)(struct ibv_mw *mw);
>> ....
>> }
>>
>> However, I do not see their declaration or implementation anywhere else.
>> Could be the version of my openfabrics does not support memory windows?
>>
> Memory Windows have not been implemented
>
> Tziporet
That's bad news for me.
Is there any plans to implement it in a near future?

Romulo
--
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] 4+ messages in thread

* RE: Support for Memory windows.
       [not found]         ` <4CE51FDF.10705-rh8NL+sEX9E@public.gmane.org>
@ 2010-11-18 12:49           ` Tziporet Koren
  0 siblings, 0 replies; 4+ messages in thread
From: Tziporet Koren @ 2010-11-18 12:49 UTC (permalink / raw)
  To: Romulo Goncalves; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA


> Is there any plans to implement it in a near future?

No
Tziporet
--
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] 4+ messages in thread

end of thread, other threads:[~2010-11-18 12:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-15 15:06 Support for Memory windows Romulo Goncalves
     [not found] ` <4CE14C82.9020907-rh8NL+sEX9E@public.gmane.org>
2010-11-16 13:01   ` Tziporet Koren
     [not found]     ` <4CE280BD.8080505-VPRAkNaXOzVS1MOuV/RT9w@public.gmane.org>
2010-11-18 12:45       ` Romulo Goncalves
     [not found]         ` <4CE51FDF.10705-rh8NL+sEX9E@public.gmane.org>
2010-11-18 12:49           ` Tziporet Koren

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.