Lines Matching full:path

55  * 	Declaration of path related objects.
58 /****h* OpenSM/DR Path
60 * DR Path
63 * The DR Path structure encapsulates a directed route through the subnet.
71 /****s* OpenSM: DR Path/osm_dr_path_t
84 uint8_t path[IB_SUBNET_PATH_HOPS_MAX]; member
89 * Bind handle for port to which this path applies.
92 * The number of hops in this path.
94 * path
95 * The array of port numbers that comprise this path.
98 * DR Path structure
100 /****f* OpenSM: DR Path/osm_dr_path_construct
105 * This function constructs a directed route path object.
111 /* The first location in the path array is reserved. */ in osm_dr_path_construct()
118 * [in] Pointer to a directed route path object to initialize.
121 * [in] Bind handle for the port on which this path applies.
126 * path
127 * [in] Directed route path to reach this node.
137 /****f* OpenSM: DR Path/osm_dr_path_init
142 * This function initializes a directed route path object.
148 IN const uint8_t path[IB_SUBNET_PATH_HOPS_MAX]) in osm_dr_path_init()
150 /* The first location in the path array is reserved. */ in osm_dr_path_init()
151 CL_ASSERT(path[0] == 0); in osm_dr_path_init()
154 memcpy(p_path->path, path, hop_count + 1); in osm_dr_path_init()
160 * [in] Pointer to a directed route path object to initialize.
163 * [in] Bind handle for the port on which this path applies.
168 * path
169 * [in] Directed route path to reach this node.
178 /****f* OpenSM: DR Path/osm_dr_path_extend
183 * Adds a new hop to a path.
195 Location 0 in the path array is reserved per IB spec. in osm_dr_path_extend()
197 p_path->path[p_path->hop_count] = port_num; in osm_dr_path_extend()
204 * [in] Pointer to a directed route path object to initialize.
207 * [in] Additional port to add to the DR path.
210 * 0 indicates path was extended.
211 * Other than 0 indicates path was not extended.