All of lore.kernel.org
 help / color / mirror / Atom feed
* RDMA_CM_EVENT_REJECTED
@ 2016-10-25 14:38 Steve Wise
  2016-10-25 17:08 ` RDMA_CM_EVENT_REJECTED Hefty, Sean
  0 siblings, 1 reply; 2+ messages in thread
From: Steve Wise @ 2016-10-25 14:38 UTC (permalink / raw)
  To: linux-rdma-u79uwXL29TY76Z2rM5mHXA

While working on the reject helper functions, I notice that some of the rdma_cm
kernel users have handlers for RDMA_CM_EVENT_REJECTED even for cm_ids that are
spawned from listening cm_ids as the result of a RDMA_CM_EVENT_CONNECT_REQUEST,
and that issue an rdma_accept() or rdma_reject() in response. 

Q: is it possible for a REJECTED event to get posted to these cm_ids?  It is not
for iWARP, but I'm not sure about IB.  I'm guessing this is just due to
cut/paste process of adding event handlers, but I wanted to make sure.

Steve.

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

* RE: RDMA_CM_EVENT_REJECTED
  2016-10-25 14:38 RDMA_CM_EVENT_REJECTED Steve Wise
@ 2016-10-25 17:08 ` Hefty, Sean
  0 siblings, 0 replies; 2+ messages in thread
From: Hefty, Sean @ 2016-10-25 17:08 UTC (permalink / raw)
  To: Steve Wise, linux-rdma-u79uwXL29TY76Z2rM5mHXA

> While working on the reject helper functions, I notice that some of the
> rdma_cm
> kernel users have handlers for RDMA_CM_EVENT_REJECTED even for cm_ids
> that are
> spawned from listening cm_ids as the result of a
> RDMA_CM_EVENT_CONNECT_REQUEST,
> and that issue an rdma_accept() or rdma_reject() in response.
> 
> Q: is it possible for a REJECTED event to get posted to these cm_ids?
> It is not
> for iWARP, but I'm not sure about IB.  I'm guessing this is just due to
> cut/paste process of adding event handlers, but I wanted to make sure.

If I'm following this correctly, then, yes, I believe those cm_id's can be rejected.  The active side of a connection can give up waiting for the passive side to act.  As a final gesture, the active side will send a reject message to notify the passive side that it's aborting the connection request.

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

end of thread, other threads:[~2016-10-25 17:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-25 14:38 RDMA_CM_EVENT_REJECTED Steve Wise
2016-10-25 17:08 ` RDMA_CM_EVENT_REJECTED Hefty, Sean

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.