[ofa-general] [PATCH 1/3] libvendor: osm_vendor_get_all_port_attr() rework

Sasha Khapyorsky sashak at voltaire.com
Tue Jan 8 12:23:10 PST 2008


On 11:47 Tue 08 Jan     , Hal Rosenstock wrote:
> On Tue, 2008-01-08 at 19:44 +0000, Sasha Khapyorsky wrote:
> > On 08:58 Tue 08 Jan     , Hal Rosenstock wrote:
> > > 
> > > Yes, but it goes further than checking in tree consumers and not
> > > everyone is paying attention all the time or running complete
> > > regressions frequently so this wasn't found until recently.
> > > 
> > > This change broke autoselection on a machine running OpenSM with a
> > > combination of IB and iWARP adapters as it selected an iWARP adapter and
> > > exited.
> > 
> > Right, after reviewing this code again I see that it is possible
> > failure.
> > 
> > > If we care about continuing to support this feature, I suppose code
> > > might be able to be added to OpenSM main.c to handle this rather than it
> > > being in a lower layer as it was before.
> > 
> > We don't have appropriate indication in the vendor layer. I think non-IB
> > devices can be filtered out in osm_vendor_get_all_port_attr(), something
> > like this:
> 
> Yes, that looks like it would work. Hoping to get it tested.

Thanks. I will post this patch to the list yet.

Sasha



More information about the general mailing list