[openib-general] Missining Infiniband class fields

shaharf shaharf at voltaire.com
Thu Dec 9 09:22:59 PST 2004



> -----Original Message-----
> From: openib-general-bounces at openib.org [mailto:openib-general-
> bounces at openib.org] On Behalf Of Michael S. Tsirkin
> Sent: Thursday, December 09, 2004 7:10 PM
> Cc: openib-general at openib.org
> Subject: Re: [openib-general] Missining Infiniband class fields
> > Please note that you want to clear this bit automatically if the
> > > application set it and then dies.
> > > One way to do this is to require that the user keeps some file
> > > open while he wants to be the SM, and clear it on file close.
> > >
> > > mst
> >
> > Indeed this plays in the favor of ioctl.
> >
> > Shahar
> 
> ioctls have a disadvantage of being half-broken when used
> by a 32 bti app on the 64 bit OS.
> Maybe write 1 to some offset to set the SM bit?
> This is what /proc/bus/pci has for pci configuration access.
> MST

As it will not be the first IOCTL, another one would not do any harm not
already done.

Shahar



More information about the general mailing list