Apparatus, system and method for implementing a generalized queue pair in a system area network
First Claim
1. A method of allocating a queue pair in a host channel adapter of a system area network, comprising:
- receiving a request, from a requester, to allocate the queue pair;
identifying a type of the requestor;
setting a partition key mode based on the type of the requester; and
writing one or more partition keys to resources of the queue pair based on the partition key mode.
1 Assignment
0 Petitions
Accused Products
Abstract
The present invention provides an apparatus, system and method for providing a generalized queue pair for use with host channel adapters of a system area network. With the apparatus, system and method, the hypervisor of a host channel adapter maintains a P_Key table for each logical port of the host channel adapter. When a request is received to allocate a queue pair from a requestor application associated with a logical port, a P_Key mode is set in a control register associated with the queue pair based on the type of requestor application that sent the request. Based on this P_Key mode, one or more P_Keys from a P_Key table associated with the logical port from which the request was received are written to one or more P_Key registers allocated to the queue pair. These P_Keys are then used to perform P_Key checks of incoming data packets. In addition, these P_Keys are inserted into headers of outgoing data packets. In a preferred embodiment, the P_Key modes may be a single P_Key check mode, a multiple P_Key check mode, and a P_Key check disabled mode.
165 Citations
33 Claims
-
1. A method of allocating a queue pair in a host channel adapter of a system area network, comprising:
-
receiving a request, from a requester, to allocate the queue pair;
identifying a type of the requestor;
setting a partition key mode based on the type of the requester; and
writing one or more partition keys to resources of the queue pair based on the partition key mode. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A computer program product in a computer readable medium for allocating a queue pair in a host channel adapter of a system area network, comprising:
-
first instructions for receiving a request, from a requester, to allocate the queue pair;
second instructions for identifying a type of the requester;
third instructions for setting a partition key mode based on the type of the requester; and
fourth instructions for writing one or more partition keys to resources of the queue pair based on the partition key mode. - View Dependent Claims (14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24)
-
-
25. An apparatus for allocating a queue pair in a host channel adapter of a system area network, comprising:
-
means for receiving a request, from a requestor, to allocate the queue pair;
means for identifying a type of the requestor;
means for setting a partition key mode based on the type of the requestor; and
means for writing one or more partition keys to resources of the queue pair based on the partition key mode. - View Dependent Claims (26, 27, 28, 29, 30, 31, 32, 33)
-
Specification