(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
[email protected]
Computer Scientist
High Performance Systems Division
Lawrence Livermore National Laboratory

Attachment: 0001-support-ipoib-default_pkey-module-option-to-suppor.patch
Description: application/mbox

_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to