[ofa-general] [PATCHv2] opensm/osm_node.h: Fix osm_node_get_num_physp description
Hal Rosenstock
halr at obsidianresearch.com
Wed Feb 4 13:26:08 PST 2009
Sasha,
v2 of patch to update/fix opensm/include/opensm/osm_node.h as requested.
-- Hal
-------------- next part --------------
opensm/include/opensm/osm_node.h: Fix osm_node_num_physp description
Signed-off-by: Hal Rosenstock <hal.rosenstock at gmail.com>
---
diff --git a/opensm/include/opensm/osm_node.h b/opensm/include/opensm/osm_node.h
index 50b3598..fec24ba 100644
--- a/opensm/include/opensm/osm_node.h
+++ b/opensm/include/opensm/osm_node.h
@@ -269,7 +269,10 @@ static inline uint8_t osm_node_get_type(IN const osm_node_t * const p_node)
* osm_node_get_num_physp
*
* DESCRIPTION
-* Returns the type of this node.
+* Returns the number of osm_physp ports allocated for this node.
+* For switches, it is the number of external physical ports plus
+* port 0. For CAs and routers, it is the number of external physical
+* ports plus 1.
*
* SYNOPSIS
*/
More information about the general
mailing list