[openib-general] [PATCH] ib_mad.c: Fix request/response matching

Hal Rosenstock
Tue Oct 5 13:33:39 PDT 2004


On Tue, 2004-10-05 at 16:25, Sean Hefty wrote:
> >    Hal> The tid of a requests is needed so responses can be matched.
> >
> >    Hal> One way around this would be to pass the TID as a separate
> >    Hal> parameter in the ib_post_send_mad call. Maybe there are other
> >    Hal> less brute force ways.
> >
> >I don't see a way around adding a TID parameter to ib_post_send_mad or
> >adding a TID member to the ib_send_wr.wr.ud union.
> 
> Are you saying that there's no way to access the MAD data itself from the
> access layer?  RMPP will be extremely difficult to support if that's the
> case.

Good point. We will need more than access to the TID for RMPP. We need a
replacement for bus_to_virt. Is there an "approved" way to get from DMA
address to VA ?

-- Hal



More information about the openib-general mailing list