Quoting Hal Rosenstock <[EMAIL PROTECTED]>: > > > On Wed, 2005-09-14 at 19:43, Roland Dreier wrote: > > > > > >> - Allows userspace to set node_desc by writing into sysfs file, eg. > > >> echo -n `hostname` >> /sys/class/infiniband/mthca0/node_desc > > > > I would think the way to use this is to add the above call to the > > modprobe sequence. > > That still leaves a window where the SM could get this after the driver > and core are started but before this is set.
Well, if someone is really worried about this, we could add a module parameter to drop NodeInfo MADs by default. Then you can modprobe ib_mad nodeinfo_drop=1 echo `hostname` > /sys/class/infiniband/mthca0/node_desc echo 0 > /sys/class/infiniband/mthca0/nodeinfo_drop Hmm, maybe this can be generalized to have a mask of MADs to drop. I dont know if this is a good idea. Roland? -- MST _______________________________________________ openib-general mailing list [email protected] http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
