Re: [ofa-general] Re: [PATCH RFC v2] IB/ipoib: enable IGMP for userpsace multicast IB apps

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Or Gerlitz <ogerlitz@...>
Cc: <general@...>
Date: Friday, October 5, 2007 - 6:59 pm

> 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.
_______________________________________________
general mailing list
general@lists.openfabrics.org
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[ofa-general] Get any soft you need without delays., Kris Frazier, (Wed Dec 31, 8:00 pm)
Re: [ofa-general] Re: [PATCH RFC v2] IB/ipoib: enable IGMP f..., Roland Dreier, (Fri Oct 5, 6:59 pm)