[openib-general] RE: cma header - change some things according to the list feedback
Caitlin Bestler
caitlinb at broadcom.com
Thu Aug 25 09:34:19 PDT 2005
> -----Original Message-----
> From: Guy German [mailto:guyg at voltaire.com]
> Sent: Thursday, August 25, 2005 8:56 AM
> To: Caitlin Bestler
> Cc: openib-general at openib.org; sean.hefty at intel.com
> Subject: RE: cma header - change some things according to the
> list feedback
>
> >
> > Because RDMA connections are established over a reliable connection
> > there is a distinct need to have some form of throttle control.
> > Excess connection requests received will be non-peer-rejected.
> > With kDAPL this is controlled by the size of the connection EVD.
> > When using a callback what is needed is for the callback
> function to
> > be able to report that it could not accept the connection request
> > object -- resulting in a non-peer reject rather than a peer reject.
> > To prevent DoS attacks it is essential that this be done as
> close to
> > the driver as possible.
>
> How do you suggest changing the API then ?
>
>
Have the callback function return indicate whether the connection
request was accepted. That is, either make it a boolean (I have
take responsibility for the connection request: true/false) or
a status (zero means ok, non-zero means not accepted for a
reason that matches the exact integer value).
More information about the general
mailing list