Lines Matching full:port
38 * Declaration of port related objects.
39 * These objects comprise an IBA port.
71 /****h* OpenSM/Physical Port
73 * Physical Port
76 * The Physical Port object encapsulates the information needed by the
77 * OpenSM to manage physical ports. The OpenSM allocates one Physical Port
78 * per physical port in the IBA subnet.
80 * In a switch, one multiple Physical Port objects share the same port GUID.
83 * The Physical Port is not thread safe, thus callers must provide
94 /****s* OpenSM: Physical Port/osm_physp_t
99 * This object represents a physical port on a switch, router or end-point.
136 * The IBA defined PortInfo data for this port.
139 * Mellanox vendor specific ExtendedPortInfo data for this port.
142 * Port GUID value of this port. For switches,
151 * The port number of this port. The PortInfo also
153 * the port number of this port, but rather the number
154 * of the port that received the SMP during discovery.
156 * port's port number.
159 * Pointer to the parent Node object of this Physical Port.
162 * Pointer to the Physical Port on the other side of the wire.
163 * If this pointer is NULL no link exists at this port.
166 * Tracks the health of the port. Normally should be TRUE but
167 * might change as a result of incoming traps indicating the port
172 * and should be uploaded to port's PortInfo
175 * When set indicates that port was probably reset and port
179 * When set indicates that switch port will be ignored by
183 * The directed route path to this port.
186 * osm_pkey_tbl_t object holding the port PKeys.
189 * Each Physical Port has 4 sections of VL Arbitration table.
192 * A vector of pointers to the sl2vl tables (ordered by input port).
193 * Switches have an entry for every other input port (inc SMA=0).
194 * On CAs only one per port.
200 * Physical port switch congestion settings (switches only)
203 * Physical port ca congestion settings (cas only)
206 * Physical port ca congestion control table (cas only)
209 * Port
212 /****f* OpenSM: Physical Port/osm_physp_construct
217 * Constructs a Physical Port.
233 * Port, Physical Port
236 /****f* OpenSM: Physical Port/osm_physp_init
241 * Initializes a Physical Port for use.
255 * [in] GUID value of this port. Switch ports all share
260 * [in] The port number of this port.
263 * [in] Pointer to the parent Node object of this Physical Port.
266 * [in] Bind handle on which this port is accessed.
268 * handle to this port is unknown.
271 * [in] Directed route hop count to reach this port.
284 * Port, Physical Port
287 /****f* OpenSM: Port/void osm_physp_destroy
292 * This function destroys a Port object.
312 * Port
315 /****f* OpenSM: Physical Port/osm_physp_is_valid
320 * Returns TRUE if the Physical Port has been successfully initialized.
337 * Returns TRUE if the Physical Port has been successfully initialized.
343 * Port, Physical Port
346 /****f* OpenSM: Physical Port/osm_physp_is_healthy
351 * Returns TRUE if the Physical Port has been maked as healthy
368 * Returns TRUE if the Physical Port has been maked as healthy
376 * Port, Physical Port
379 /****f* OpenSM: Physical Port/osm_link_is_healthy
384 * Returns TRUE if the link given by the physical port is health,
404 * Port, Physical Port
407 /****f* OpenSM: Physical Port/osm_physp_set_health
412 * Sets the port health flag. TRUE means the port is healthy and
430 * [in] The health value to be assigned to the port.
431 * TRUE if the Physical Port should been maked as healthy
440 * Port, Physical Port
443 /****f* OpenSM: Physical Port/osm_physp_set_port_info
448 * Copies the PortInfo attribute into the Physical Port object
463 * [in] Pointer to the IBA defined PortInfo at this port number.
474 * Port, Physical Port
477 /****f* OpenSM: Physical Port/osm_physp_set_base_lid
482 * Sets the base lid for this Physical Port.
507 /****f* OpenSM: Physical Port/osm_physp_set_pkey_tbl
512 * Copies the P_Key table into the Physical Port object.
533 * [in] Pointer to the IBA defined P_Key table for this port
547 * Port, Physical Port
550 /****f* OpenSM: Physical Port/osm_physp_get_pkey_tbl
555 * Returns a pointer to the P_Key table object of the Physical Port object.
582 * Port, Physical Port
585 /****f* OpenSM: Physical Port/osm_physp_set_slvl_tbl
590 * Copies the SLtoVL attribute into the Physical Port object.
613 * port number.
616 * [in] Input Port Number for this SLtoVL.
624 * Port, Physical Port
627 /****f* OpenSM: Physical Port/osm_physp_get_slvl_tbl
632 * Returns a pointer to the SLtoVL attribute of the Physical Port object.
653 * [in] Input Port Number for this SLtoVL.
661 * Port, Physical Port
664 /****f* OpenSM: Physical Port/osm_physp_set_vla_tbl
669 * Copies the VL Arbitration attribute into the Physical Port object.
690 * port number.
702 * Port, Physical Port
705 /****f* OpenSM: Physical Port/osm_physp_get_vla_tbl
710 * Returns a pointer to the VL Arbitration table of the Physical Port object.
737 * Port, Physical Port
740 /****f* OpenSM: Physical Port/osm_physp_get_remote
745 * Returns a pointer to the Physical Port on the other side the wire.
761 * Returns a pointer to the Physical Port on the other side of
762 * the wire. A return value of NULL means there is no link at this port.
767 * Port, Physical Port
770 /****f* OpenSM: Physical Port/osm_physp_get_port_guid
775 * Returns the port guid of this physical port.
791 * Returns the port guid of this physical port.
796 * Port, Physical Port
799 /****f* OpenSM: Physical Port/osm_physp_get_subnet_prefix
804 * Returns the subnet prefix for this physical port.
821 * Returns the subnet prefix for this physical port.
826 * Port, Physical Port
829 /****f* OpenSM: Physical Port/osm_physp_link_exists
834 * Returns TRUE if the Physical Port has a link to the specified port.
859 * Returns TRUE if the Physical Port has a link to another port.
865 * Port, Physical Port
868 /****f* OpenSM: Physical Port/osm_physp_link
900 * Port, Physical Port
903 /****f* OpenSM: Physical Port/osm_physp_unlink
908 * Clears the pointers to the Physical Port on the other side the wire.
936 * Port, Physical Port
939 /****f* OpenSM: Physical Port/osm_physp_has_any_link
944 * Returns TRUE if the Physical Port has a link to another port.
964 * Returns TRUE if the Physical Port has a link to another port.
970 * Port, Physical Port
973 /****f* OpenSM: Physical Port/osm_physp_get_port_num
978 * Returns the local port number of this Physical Port.
995 * Returns the local port number of this Physical Port.
1002 /****f* OpenSM: Physical Port/osm_physp_get_node_ptr
1007 * Returns a pointer to the parent Node object for this port.
1025 * Returns a pointer to the parent Node object for this port.
1032 /****f* OpenSM: Physical Port/osm_physp_get_port_state
1037 * Returns the port state of this Physical Port.
1054 * Returns the local port number of this Physical Port.
1061 /****f* OpenSM: Physical Port/osm_physp_get_base_lid
1066 * Returns the base lid of this Physical Port.
1083 * Returns the base lid of this Physical Port.
1090 /****f* OpenSM: Physical Port/osm_physp_get_lmc
1095 * Returns the LMC value of this Physical Port.
1112 * Returns the LMC value of this Physical Port.
1119 /****f* OpenSM: Physical Port/osm_physp_get_dr_path_ptr
1124 * Returns a pointer to the directed route path for this port.
1139 * [in] Pointer to a Physical Port object.
1142 * Returns a pointer to the directed route path for this port.
1147 * Physical Port object
1150 /****h* OpenSM/Port
1152 * Port
1155 * The Port object encapsulates the information needed by the
1156 * OpenSM to manage ports. The OpenSM allocates one Port object
1157 * per port in the IBA subnet.
1159 * Each Port object is associated with a single port GUID. A Port object
1160 * contains 1 or more Physical Port objects. An end point node has
1161 * one Physical Port per Port. A switch node has more than
1162 * one Physical Port per Port.
1164 * The Port object is not thread safe, thus callers must provide
1175 /****s* OpenSM: Port/osm_port_t
1180 * This object represents a logical port on a switch, router, or CA.
1213 * Points to the Node object that owns this port.
1216 * Manufacturer assigned GUID for this port.
1219 * The number of times this port has been discovered
1224 * The pointer to physical port used when physical
1225 * characteristics contained in the Physical Port are needed.
1231 * Utility flag for port management
1240 * Port, Physical Port, Physical Port Table
1243 /****f* OpenSM: Port/osm_port_delete
1248 * This function destroys and deallocates a Port object.
1256 * [in][out] Pointer to a pointer to a Port object to delete.
1263 * Performs any necessary cleanup of the specified Port object.
1266 * Port
1269 /****f* OpenSM: Port/osm_port_new
1274 * This function allocates and initializes a Port object.
1283 * [in] Pointer to the NodeInfo attribute relevant for this port.
1287 * that owns this port.
1290 * Pointer to the initialize Port object.
1293 * Allows calling other port methods.
1296 * Port
1299 /****f* OpenSM: Port/osm_port_get_base_lid
1304 * Gets the base LID of a port.
1317 * [in] Pointer to a Port object.
1320 * Base LID of the port.
1321 * If the return value is 0, then this port has no assigned LID.
1326 * Port
1329 /****f* OpenSM: Port/osm_port_get_lmc
1334 * Gets the LMC value of a port.
1347 * [in] Pointer to a Port object.
1350 * Gets the LMC value of a port.
1355 * Port
1358 /****f* OpenSM: Port/osm_port_get_guid
1363 * Gets the GUID of a port.
1375 * [in] Pointer to a Port object.
1378 * Manufacturer assigned GUID of the port.
1383 * Port
1386 /****f* OpenSM: Port/osm_port_get_lid_range_ho
1391 * Returns the HOST ORDER lid min and max values for this port,
1402 * [in] Pointer to a Port object.
1405 * [out] Pointer to the minimum LID value occupied by this port.
1408 * [out] Pointer to the maximum LID value occupied by this port.
1416 * Port
1419 /****f* OpenSM: Physical Port/osm_physp_calc_link_mtu
1424 * Calculate the Port MTU based on current and remote
1441 * [in] Current neighbor mtu on this port
1452 /****f* OpenSM: Physical Port/osm_physp_calc_link_op_vls
1457 * Calculate the Port OP_VLS based on current and remote
1478 * [in] Current operational VL on the port
1489 /****f* OpenSM: Physical Port/osm_physp_replace_dr_path_with_alternate_dr_path
1494 * Replace the direct route path for the given phys port with an
1495 * alternate path going through forien set of phys port.
1527 /****s* OpenSM: Port/osm_alias_guid_t
1550 * Alias GUID for port obtained from SM GUIDInfo attribute
1553 * Pointer to osm_port_t for base port GUID
1556 * Port, Physical Port, Physical Port Table
1559 /****f* OpenSM: Port/osm_alias_guid_new
1576 * [in] Pointer to the port for this base GUID
1585 * Port
1588 /****f* OpenSM: Port/osm_alias_guid_delete
1611 * Port
1614 /****f* OpenSM: Port/osm_alias_guid_get_alias_guid
1639 * Port
1642 /****f* OpenSM: Port/osm_alias_guid_get_base_guid
1667 * Port
1670 /****f* OpenSM: Port/osm_port_clear_base_lid
1675 * Clear the base lid of a given port.
1689 * [out] Pointer to a Port object.
1697 * Port