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

Sean Hefty mshefty at ichips.intel.com
Wed Sep 7 11:54:45 PDT 2005


Fab Tillier wrote:
>>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?

The CM still needs to know that redirection should occur, cache that information 
somewhere, and use it for other CM traffic to that same destination.  Updating 
the redirect_qpn only fixes the issue for that single connection.  My thought 
was to have a module that the CM would call to insert a redirected endpoint, and 
then call again to see if an outbound MAD should be redirected.  Hopefully, such 
a module could be defined to be useful for other management classes.

> 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.

I agree that the CM should control updates to the cache.

- Sean



More information about the general mailing list