[openib-general] [PATCHv2] OpenSM/osm_lid_mgr.c: Support enhanced switch port 0forLMC > 0
Eitan Zahavi
eitan at mellanox.co.il
Fri Jun 30 03:55:20 PDT 2006
No not really
Eitan Zahavi
Senior Engineering Director, Software Architect
Mellanox Technologies LTD
Tel:+972-4-9097208
Fax:+972-4-9593245
P.O. Box 586 Yokneam 20692 ISRAEL
> -----Original Message-----
> From: Hal Rosenstock [mailto:halr at voltaire.com]
> Sent: Friday, June 30, 2006 12:38 PM
> To: Eitan Zahavi
> Cc: openib-general at openib.org
> Subject: RE: [PATCHv2] OpenSM/osm_lid_mgr.c: Support enhanced switch
port
> 0forLMC > 0
>
> 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