Patent ID: 8331381

Claim:
In a computer network, a method comprising: a subnet manager coupled to an InfiniBand over Ethernet (IBOE) gateway in a network determining if a port of said IBOE gateway corresponds to one of one or more InfiniBand devices in an InfiniBand network or one or more Ethernet devices in an Ethernet network; in response to a determination that the port of said IBOE gateway corresponds to one or more InfiniBand devices in an InfiniBand network: sending one or more fabric management packets (FMPs) to said one or more InfiniBand devices to discover said InfiniBand network; and assigning physical local identifiers (LIDs) to said one or more InfiniBand devices; and in response to a determination that the port of said IBOE gateway corresponds to one or more Ethernet devices in an Ethernet network: sending one or more FMPs to said one or more Ethernet devices to discover said Ethernet network; receiving a response from one or more responding Ethernet devices of said one or more Ethernet devices, wherein said response is an InfiniBand encapsulated IBOE Virtual Host Channel Adapters (HCA) response management packet from a virtual HCA that contains an Ethernet Media Access Control (MAC) address of the virtual HCA; adding one or more Ethernet MAC addresses of said one or more responding Ethernet devices to a LID routing table, wherein the LID routing table includes: one or more Ethernet MAC addresses that correspond to said one or more Ethernet devices; one or more InfiniBand LIDs that correspond to one or more physical HCAs, wherein physical HCAs in the LID routing table contain a zero in place of the MAC address; one or more IBOE port numbers that correspond to ports of the IBOE gateway that one or more devices are coupled to; one or more Ethernet MAC addresses matched to InfiniBand LIDs and IBOE port numbers; and one or more LID mapping bits; wherein virtual HCAs in the LID routing table contain a MAC address; assigning one or more LIDs to said one or more Ethernet devices; and configuring one or more virtual HCAs corresponding to said one or more Ethernet MAC addresses in said LID routing table.