CPC G06F 9/45558 (2013.01) [G06F 9/544 (2013.01); G06F 2009/45579 (2013.01); G06F 2009/45583 (2013.01); G06F 2009/45595 (2013.01)] | 20 Claims |
1. A method comprising:
acquiring virtual location information of a virtual data buffer of a virtual network interface component;
creating an information queue composed of physical buffer control information;
creating a physical storage space;
designating physical location information of a physical data buffer of a physical network interface component as the virtual location information, without copying data from the physical data buffer to the virtual data buffer, the act of designating the physical location information including:
converting the virtual location information into a physical address; and
determining, according to the physical address, the physical location information of the physical data buffer, the act of determining the physical location information including adding the physical address to the physical buffer control information of the physical data buffer;
acquiring the physical buffer control information in the physical storage space;
creating a physical receiving queue of the physical network interface component, the physical receiving queue having a one-to-one mapping to the physical data buffer;
adding the physical buffer control information to the physical receiving queue;
storing data according to the virtual location information in response to storing the data into the physical data buffer, the act of storing including:
determining, according to the data, a virtual network interface component to which the data is to be sent;
acquiring, from the physical receiving queue corresponding to the virtual network interface component, the physical location information of the physical data buffer, the act of acquiring the physical location information including acquiring the physical buffer control information in the physical receiving queue, the physical buffer control information including the physical location information; and
storing the data according to the physical location information;
marking in the physical buffer control information that the data is received; and
notifying, according to the physical buffer control information, the virtual network interface component that the data is received.
|