A non-transitory computer readable storage medium, including instructions stored for path record handling in a fabric without host stack cooperation in a high performance computing environment, which when read and executed by one or more computers cause the one or more computers to perform the steps comprising:
- providing, at one or more microprocessors, a first subnet, the first subnet comprising
- a plurality of switches, the plurality of switches comprising at least a leaf switch, wherein each of the plurality of switches comprise at least one switch port of a plurality of switch ports,
- a plurality of host channel adapters, wherein each of the host channel adapters comprise at least one host channel adapter port of a plurality of host channel adapter ports, and wherein the plurality of host channel adapters are interconnected via the plurality of switches, and
- a subnet manager, the subnet manager running on one of the plurality of switches and the plurality of host channel adapters;
- determining, by the subnet manager, that a set of the plurality of host channel adapter ports and a set of the plurality of switches support a same set of capabilities;
- and
- upon determining that the plurality of hosts and the plurality of switches support a same set of capabilities, recording, by the subnet manager, a state of the fabric at a cache accessible by the subnet manager, the state of the fabric comprising a flag indicating a homogenous fabric state or a semi-homogenous fabric state internally to the subnet manager for when processing path record queries.