[openib-general] [PATCH] for discussion - combine ib_send_mad_wr with ib_send_wr

Hal Rosenstock halr at voltaire.com
Thu Sep 2 11:08:55 PDT 2004


On Thu, 2004-09-02 at 12:02, Sean Hefty wrote:
> Here's a patch that would combine ib_send_mad_wr with ib_send_wr, 
> to optimize sending and completing MADs.  

Sounds like a good thing to do.

> As part of the change, 
> there is a minor adjustment to the ib_wc structure that allows 
> casting it to an ib_mad_send_wc structure to enable an additional 
> optimization on MAD send completion processing.
> 
> This patch is simply for discussion purposes at this point, 
> to see if this is desirable.

Just a minor point/question:

I forget why IB_SEND_MAD_GRH_VALID is needed. Isn't the grh setup
properly in the AH which is supplied with the send WR ? However, the
notion of IB_SEND_MAD is needed to determine whether the timeout_ms
parameter is to be honored or not.

-- Hal





More information about the general mailing list