Skip to contentSkip to conversation

Support for Memory windows.

DISCUSSION Romulo Goncalves 2 participants 4 messages Nov 15, 2010 – Nov 18, 2010 3 messages not in the archive InfiniBand

lore
Share & tools
lore
#0 lore raw

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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 17 lines · Romulo Goncalves

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

Quoted 9 lines
          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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 4CE280BD.8080505-VPRAkNaXOzVS1MOuV/[email protected]

#4 lore raw
Quoted 30 lines · Tziporet Koren
Quoted 29 lines · Romulo Goncalves

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

....
}

Quoted 6 lines
Quoted 3 lines

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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): [email protected]