From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hal Rosenstock Subject: [PATCH 2/5] opensm: Update partition documentation and man page for (allowing) both (limited and full) memberships in the same partition Date: Tue, 22 Nov 2011 15:23:40 -0500 Message-ID: <4ECC04CC.8030104@dev.mellanox.co.il> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Alex Netes Cc: "linux-rdma (linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org)" List-Id: linux-rdma@vger.kernel.org Signed-off-by: Hal Rosenstock --- doc/partition-config.txt | 11 ++++++----- man/opensm.8.in | 14 ++++++++------ 2 files changed, 14 insertions(+), 11 deletions(-) diff --git a/doc/partition-config.txt b/doc/partition-config.txt index 537f6a7..a6a257c 100644 --- a/doc/partition-config.txt +++ b/doc/partition-config.txt @@ -41,14 +41,14 @@ General file format: Partition Definition: -------------------- -[PartitionName][=PKey][,flag[=value]][,defmember=full|limited] +[PartitionName][=PKey][,flag[=value]][,defmember=full|limited|both] PartitionName - string, to be used with logging. When omitted empty string will be used. PKey - P_Key value for this partition. Only low 15 bits will be used. When omitted will be autogenerated. flag - used to indicate IPoIB capability of this partition. -defmember=full|limited - specifies default membership for port guid +defmember=full|limited|both - specifies default membership for port guid list. Default is limited. Currently recognized flags are: @@ -68,12 +68,13 @@ in the IBTA specification (for example mtu=4 for 2048). PortGUIDs list: -------------- -[PortGUID[=full|=limited]] [,PortGUID[=full|=limited]] [,PortGUID] ... +[PortGUID[=full|=limited|both]] [,PortGUID[=full|=limited|both]] [,PortGUID] ... PortGUID - GUID of partition member EndPort. Hexadecimal numbers should start from 0x, decimal numbers are accepted too. -full or - indicates full or limited membership for this port. When - limited omitted (or unrecognized) limited membership is assumed. +full or - indicates full and/or limited membership for this port. When + limited or omitted (or unrecognized) limited membership is assumed. + both Both indicates both full and limited membership for this port. There are several useful keywords for PortGUID definition: diff --git a/man/opensm.8.in b/man/opensm.8.in index c026f3a..864ccee 100644 --- a/man/opensm.8.in +++ b/man/opensm.8.in @@ -1,4 +1,4 @@ -.TH OPENSM 8 "November 3, 2010" "OpenIB" "OpenIB Management" +.TH OPENSM 8 "November 22, 2011" "OpenIB" "OpenIB Management" .SH NAME opensm \- InfiniBand subnet manager and administration (SM/SA) @@ -496,8 +496,8 @@ Partition Definition: PKey - P_Key value for this partition. Only low 15 bits will be used. When omitted will be autogenerated. flag - used to indicate IPoIB capability of this partition. - defmember=full|limited - specifies default membership for port guid - list. Default is limited. + defmember=full|limited|both - specifies default membership for port + guid list. Default is limited. Currently recognized flags are: @@ -521,9 +521,11 @@ PortGUIDs list: PortGUID - GUID of partition member EndPort. Hexadecimal numbers should start from 0x, decimal numbers are accepted too. - full or limited - indicates full or limited membership for this - port. When omitted (or unrecognized) limited - membership is assumed. + full, limited, - indicates full and/or limited membership for this + both port. When omitted (or unrecognized) limited + membership is assumed. Both indicates both full + and limited membership for this port. + There are several useful keywords for PortGUID definition: -- 1.7.6.1 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html