[openib-general] Re: [PATCH] [CM] 2/2 Fix CM redirection in SRP

Fab Tillier ftillier at silverstorm.com
Wed Sep 7 11:50:03 PDT 2005


> From: Sean Hefty [mailto:mshefty at ichips.intel.com]
> Sent: Wednesday, September 07, 2005 10:53 AM
> 
> Roland Dreier wrote:
> > One question on the CM interface:
> >
> > > +		cm_id->redirect_qpn =
> > > +			be32_to_cpu(*(u32 *)(event->param.rej_rcvd.ari + 32))
> > > +			& 0x00ffffff;
> >
> > It seems a little awkward that a consumer has to poke a value back
> > into the cm_id structure.  Sean, how do you want to handle this?
> 
> I'm not sure.  The first thought that comes to mind is having a MAD
> redirection module that the CM could query before sending any message.

Since the ARI for a redirect is defined by the IB spec, why not have the CM just
update the redirect_qpn (or better yet the forthcoming redirection gizmo) itself
when it receives such an REJ?

In any case, the CM has to drive any updates of cached redirection information
since it is the recipient of the REJ carrying that information.

- Fab




More information about the general mailing list