[openib-general] Missining Infiniband class fields

shaharf shaharf at voltaire.com
Thu Dec 9 09:04:20 PST 2004


> -----Original Message-----
> From: Michael S. Tsirkin [mailto:mst at mellanox.co.il]
> Sent: Thursday, December 09, 2004 7:04 PM
> To: shaharf
> Cc: openib-general at openib.org
> Subject: Re: [openib-general] Missining Infiniband class fields
> 
> Hello!
> Quoting r. shaharf (shaharf at voltaire.com) "[openib-general] Missining
> Infiniband class fields":
> > 2. I need an interface for setting/clearing IS_SM bit. If there is
such
> please
> > let me know. If not, I would like to add an additional ioctl to
> set/clear the
> > IS_SM bit. A ctl file in /dev/?/ports/?/ is anther option. Please
tell
> me what
> > do you think.
> 
> 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



More information about the general mailing list