[openib-general] [PATCH] separates QP0/1 interactions

Hal Rosenstock halr at voltaire.com
Fri Sep 24 09:37:42 PDT 2004


On Thu, 2004-09-23 at 22:59, Sean Hefty wrote:
> >-static int convert_qpnum(u32 qp_num)
> >-{
> >-	/*
> >-	 * No redirection currently!!!
> 
> This call wasn't needed with these changes.  When we do get to redirection,
> I think that we can handle it more efficiently by placing needed queues and
> such off the mad_agent structure.

Not sure what you mean by not needed with these changes. The idea was to
put some infrastructure in place so that when redirection is
implemented, most of the code would not change. The thinking behind this
routine was that there would be a table which packed the indexes as the
QPNs of the redirected QPs could be sparse.

The choice once again will be some list to walk or a table lookup. 

-- Hal




More information about the general mailing list