Ethernet Adapter Packet Management
AssigneeInternational Business Machines Corporation
InventorsCharles W. GAINEY, Colin B. Verrilli
Life of this patent
Estimating the term…
Abstract
A method, computer program product, and system for managing packets received by an Ethernet adapter shared by a plurality of threads are provided. The method, computer program product, and system provide for a first function operable to add a connection to a connection table of the Ethernet adapter and associate the connection with a queue pair and a second function operable to remove the connection from the connection table of the Ethernet adapter, wherein the Ethernet adapter is operable to route any packet corresponding to the connection received by the Ethernet adapter to the queue pair associated with the connection responsive to the connection being in the connection table.
Claims20
A method for managing packets received by an Ethernet adapter shared by a plurality of threads, the method comprising:
- providing a first function operable to add a connection to a connection table of the Ethernet adapter and associate the connection with a queue pair;
- and
- providing a second function operable to remove the connection from the connection table of the Ethernet adapter,
- wherein the Ethernet adapter is operable to route any packet corresponding to the connection received by the Ethernet adapter to the queue pair associated with the connection responsive to the connection being in the connection table, and
- wherein the first function and the second function are invocable by the plurality of threads sharing the Ethernet adapter.
A system comprising:
- an Ethernet adapter shared by a plurality of threads, the Ethernet adapter including a connection table storing information relating to one or more connections established by one or more of the plurality of threads;
- and
- a hypervisor in communication with the Ethernet adapter and the plurality of threads, the hypervisor including
- a first function operable to add a connection to the connection table of the Ethernet adapter and associate the connection with a queue pair, and
- a second function operable to remove the connection from the connection table of the Ethernet adapter,
- wherein the Ethernet adapter is operable to route any packet corresponding to the connection received by the Ethernet adapter to the queue pair associated with the connection responsive to the connection being in the connection table, and
- wherein the first function and the second function are invocable by the plurality of threads sharing the Ethernet adapter.
A computer program product comprising a computer readable medium, the computer readable medium including a computer readable program for managing broadcast packets or multicast packets received by an Ethernet adapter comprising a plurality of logical ports, wherein the computer readable program when executed on a computer causes the computer to:
- provide a first function operable to add a connection to a connection table of the Ethernet adapter and associate the connection with a queue pair;
- and
- provide a second function operable to remove the connection from the connection table of the Ethernet adapter,
- wherein the Ethernet adapter is operable to route any packet corresponding to the connection received by the Ethernet adapter to the queue pair associated with the connection responsive to the connection being in the connection table, and
- wherein the first function and the second function are invocable by the plurality of threads sharing the Ethernet adapter.
Dependencies are inferred from the claim text.