On Tuesday 15 June 2010 23:20, Mike Heinz wrote: > Well, the feedback from you was about making sure the description was null > terminated. Actually, that feedback was from me :).
> This *is* settable through sysfs, and still is even when the patch is > applied. The problem is that the current model is to set the description > once, at boot time, through an init script. This will often cause the > description to be set incorrectly, because the host name has not been set at > the time the script is run. > > The reason I changed the default behavior for the various HCAs was because it > simply seems like a smarter default behavior than simply setting it to the > model of the HCA. > > So, basically, if you have an init script to set the node descriptions it > will still work - but this patch makes it unlikely you will need such a > script in the first place. > Actually, you will still need the install-script setting. If you have several HCA's of the same type installed on a single host, they will all get the same node description. If you wish to differentiate between the different HCA's (which openibd does), you will still need the install script. Finally, I'm not convinced that changing the default behavior (to have utsname: <fw burned description>) is necessary. I think it is redundant, since the sysfs-interface is always available (which can make use of the "@" improvement). -Jack -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
