[ofa-general] [ipoib][patch] support default_pkey module option
Al Chu
chu11 at llnl.gov
Wed Jan 28 10:41:56 PST 2009
(Didn't get a response from an earlier post, this is a repost w/ a
rebased patch)
Hi all,
As far as I can tell, the only way to create an ipoib interface w/ a
non-default pkey is to:
1) goto /sys/class/net/ibX/
2) echo $MY_NEW_PKEY > create_child
3) then bring up ibX.MY_NEW_PKEY interface
3a) assuming I don't want the original ib0, bring it down (although
leaving it up, I guess may not harm anything)
It seems somewhat cumbersome for an administrator to script this all up
if they only want 1 ipoib interface w/ a non-default pkey. The attached
patch creates a module option called "default_pkey" to allow ipoib to
default to a different pkey. If nothing is input, it still uses the
pkey at index 0.
Al
--
Albert Chu
chu11 at llnl.gov
Computer Scientist
High Performance Systems Division
Lawrence Livermore National Laboratory
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-support-ipoib-default_pkey-module-option-to-suppor.patch
Type: application/mbox
Size: 1935 bytes
Desc: not available
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20090128/724faa6a/attachment.mbox>
More information about the general
mailing list