[ofa-general] Re: [PATCH RFC v2] IB/ipoib: enable IGMP for userpsace multicast IB apps
Roland Dreier
rdreier at cisco.com
Fri Oct 5 15:59:45 PDT 2007
> I understand this desire... just need a little clarification from you
> re hotplug. First, as for OFED, looking on the openibd service script
> (excerpts below) installed by OFED 1.3 I see that mode and mtu are set
> "manually", that is the user sets/provides the mode and mtu params for
> the script and the script uses sysfs to configure the device. This
> does not address devices created after the service has started nor
> seem a very elegant way to do so.
I don't know that much about OFED or Red Hat-like distros. But in
Debian/Ubuntu, I know that I can use the /etc/network/interfaces file
to specify arbitrary commands to run when an interface appears. eg
from the interfaces(5) man page:
pre-up command
Run command before bringing the interface up. If this
command fails then ifup aborts, refraining from marking
the interface as configured, prints an error message,
and exits with status 0. This behavior may change in
the future.
Seems like the same thing should be possible for other distros without
much trouble.
- R.
More information about the general
mailing list