US 11,809,889 B2
Intelligent connection placements on SR-IOV virtual functions
Vishal Mansur, Bangalore (IN); Sivakumar Krishnasamy, Bangalore (IN); and Niranjan Srinivasan, Bangalore (IN)
Assigned to International Business Machines Corporation, Armonk, NY (US)
Filed by International Business Machines Corporation, Armonk, NY (US)
Filed on Aug. 11, 2020, as Appl. No. 16/990,216.
Prior Publication US 2022/0050698 A1, Feb. 17, 2022
Int. Cl. G06F 9/455 (2018.01); H04L 49/00 (2022.01); H04L 45/24 (2022.01); H04L 61/103 (2022.01)
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
OG exemplary drawing
 
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.