[openib-general] Re: [PATCH] minor fix, formatting for MAD receive handling

Hal Rosenstock halr at voltaire.com
Thu Sep 30 06:56:20 PDT 2004


On Wed, 2004-09-29 at 18:47, Sean Hefty wrote:
> What I'd really like to be able to do is pull the ib_mad_private 
> receive buffer off the QP list before polling the CQ, 
> to avoid having to copy the work completion structure.  
> This would allow us to use pre-formatted
> ib_mad_recv_wc structures as well.

This requires separate CQs for send and receive so the receive
completions are separated out. I believe that change is part of your
still pending patch which I have not forgotten and will get to.

You would also need to know which QPN the receive completion is for.
I forget whether that is part of the pending patch too.

There are also the error cases to consider.

> Along those same lines, the send path can be optimized to avoid 
> copying the work request structure for 256 byte MADs.

I will look at the error cases for this too.

I will look at doing these after I evaluate and integrate the pending
patch. That will likely be next week as I am starting to test the send
side right now. Once I get that a little further along, I will work on
the pending patch, and then this (barring any other things that come up
on the list).

-- Hal




More information about the general mailing list