[openib-general] [PATCHv2] OpenSM/osm_lid_mgr.c: Support enhanced switch port 0 forLMC > 0
    Hal Rosenstock 
    halr at voltaire.com
       
    Fri Jun 30 02:38:29 PDT 2006
    
    
  
Hi Eitan,
On Thu, 2006-06-29 at 15:54, Eitan Zahavi wrote:
> Hi Hal,
> 
> I think the check for num lids is so similar it deserves an inline
> function.
> What do you say?
Does the function need to be inlined ?
-- Hal
> I refer to:
> 
> > +        if (p_sw && (p_si = osm_switch_get_si_ptr(p_sw)) &&
> > +            ib_switch_info_is_enhanced_port0(p_si))
> > +        {
> > +          num_lids = lmc_num_lids;
> > +        }
> > +        else
> > +        {
> > +          num_lids = 1;
> > +        }
> > +      }
> > 
>  
> 
    
    
More information about the general
mailing list