CPC G06F 9/45558 (2013.01) [G06F 9/455 (2013.01); H04L 61/103 (2013.01); G06F 2009/45595 (2013.01); H04L 45/245 (2013.01); H04L 49/70 (2013.01)] | 17 Claims |
1. A computer-implemented method for intelligent connection placement across multiple logical ports, the computer-implemented method comprising:
creating, by one or more computer processors, a mapping table for a virtual machine, wherein the mapping table contains at least a virtual function number, a media access control address, and a physical function number for each entry;
receiving, by the one or more computer processors, a connection request to connect a local port to a port on a peer device;
determining, by the one or more computer processors, whether an entry exists in the mapping table for the port on the peer device;
responsive to determining that an entry exists in the mapping table for the port on the peer device, determining, by the one or more computer processors, whether a virtual function exists for the port on the peer device in the mapping table for a physical function; and
responsive to determining that the virtual function exists for the port on the peer device in the mapping table for the physical function, selecting, by the one or more computer processors, a virtual function from the mapping table to connect the local port to the port on the peer device.
|