[ofw] RDMA-cm completion channel api

Tzachi Dar tzachid at mellanox.co.il
Wed Jan 20 09:24:58 PST 2010


Hi Sean,
 
Currently there are 4 functions for dealing with the completion channel
api in RDMA-CM.
 
struct rdma_event_channel *rdma_create_event_channel(void);
void rdma_destroy_event_channel(struct rdma_event_channel *channel);
int rdma_get_cm_event(struct rdma_event_channel *channel,
       struct rdma_cm_event **event);
__declspec(dllexport)
int rdma_ack_cm_event(struct rdma_cm_event *event);

I'm trying to figure out how can an rdma_get_cm_event() be canceled when
running over windows.
 
For example, consider a server that is looking for new connections
(after calling rdma_listen ). 
There is a chance that a new connection will never come and the call to
rdma_get_cm_event() will block there for ever.
 
This will be even more important once we will implement rdma_cm in
kernel (in which one can not press ctrl c).
 
Thanks
Tzachi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20100120/a7e2fbae/attachment.html>


More information about the ofw mailing list