Versions in this module Expand all Collapse all v0 v0.2.0 Mar 19, 2024 Changes in this version + const DEFAULT_NODE_NAME_MAP + const IB_NODE_SWITCH + const PMA_TIMEOUT + const SMINFO_DISCOVER + const SMINFO_MASTER + const SMINFO_NOTACT + const SMINFO_STANDBY + const SYS_INFINIBAND + var ExtCounterMap = map[uint32]Counter + var StdCounterMap = map[uint32]Counter + func LinkSpeedExtToStr(speed uint) string + func LinkSpeedToStr(speed uint) string + func LinkWidthToStr(width uint) string + func PortPhysStateToStr(state uint) string + func PortStateToStr(state uint) string + func UmadDone() + func UmadInit() int + type Counter struct + Limit uint64 + Name string + Select uint32 + type Fabric struct + CAName string + Hostname string + Nodes []Node + SourcePort int + type HCA struct + Name string + func GetCAs() []HCA + func (h *HCA) NetDiscover(output chan Fabric, mkey uint64, resetThreshold uint) + func (h *HCA) Release() + type Node struct + DeviceID uint + GUID uint64 + NodeDesc string + NodeType int + Ports []Port + VendorID uint + type NodeNameMap struct + func NewNodeNameMap(filePath string) (*NodeNameMap, error) + func (n *NodeNameMap) RemapNodeName(guid uint64, nodeDesc string) string + type Port struct + Counters map[uint32]interface{} + GUID uint64 + LinkSpeed string + LinkWidth string + RemoteGUID uint64 + RemoteNodeDesc string