[Openib-windows] Receive Queue

Fabian Tillier ftillier at silverstorm.com
Thu Apr 27 10:11:31 PDT 2006


Hi Guy,

On 4/25/06, Guy Corem <guyc at voltaire.com> wrote:
>
> Hi Fab,
>
> Thanks for your illuminating reply. Attached is my fix, per your
> suggestion.

This is a great start.  There are some issues, though, but I will put
something together and send it out for your review.

Specifically, you can't inspect the status of the packets after you've
handed them to NDIS - NDIS could have reused the packet for something.
 So you need to know which packet you returned STATUS_RESOURCES for,
and only reclaim those.
You can look at the documentation for NdisMIndicateReceivePacket for
more explanation.

> I'm not sure about the threshold (rq_depth / 2).

I think it makes more sense to make this an adapter parameter.  I'll
put this together.

- Fab



More information about the ofw mailing list