[ofw] [PATCH 1/4] ib_cm: drop incoming REQs if backlog is full

Sean Hefty sean.hefty at intel.com
Tue Mar 10 17:02:13 PDT 2009


>This isn't quite enforcing a backlog, is it?  Or did you change cm_alloc_id to
>check a backlog and fail if it's exceeded?  Other than that, the change looks
>good to me.

The CEP manager uses a callback model, so it doesn't implement the backlog.
That's done by the calling code, in this case winverbs, where the actual
'queuing' of the REQ is done.

The backlog enforced by winverbs isn't a straight numeric value.  It's based on
whether the user has queued an endpoint object in the kernel by calling
GetRequest().  If a pending request is not available when the CM REQ is
received, the REQ is dropped.

- Sean




More information about the ofw mailing list