Distributed queue pair state on a host channel adapter
First Claim
1. A method for managing a distributed cache of a host channel adapter (HCA), comprising:
- receiving a work request comprising a queue pair (QP) number;
determining, by a cache control module of the HCA, that a QP state identified by the QP number is not in the distributed cache of the HCA,wherein the QP state comprises a plurality of data fields, andwherein the distributed cache comprises a plurality of sub-cache blocks;
retrieving the QP state from main memory;
identifying a first portion and a second portion of the QP state,wherein the first portion comprises a first subset of the plurality of data fields required by a first module of the HCA, andwherein the second portion comprises a second subset of the plurality of data fields required by a second module of the HCA;
storing the first portion into a first entry of a first sub-cache block associated with the first module, wherein the first entry is identified by a QP index number, wherein the first sub-cache block is one of the plurality of sub-cache blocks;
storing the second portion into a second entry of a second sub-cache block associated with the second module, wherein the second entry is identified by the QP index number,wherein the second sub-cache block is one of the plurality of sub-cache blocks; and
returning the QP index number of the QP state to the first module and the second module.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for managing a distributed cache of a host channel adapter (HCA) that includes receiving a work request including a QP number, determining that a QP state identified by the QP number is not in the distributed cache, retrieving the QP state from main memory, and identifying a first portion and a second portion of the QP state. The method further includes storing the first portion into a first entry of a first sub-cache block associated with the first module, where the first entry is identified by a QP index number, storing the second portion into a second entry of a second sub-cache block associated with the second module, where the second entry is identified by the QP index number; and returning the QP index number of the QP state to the first module and the second module.
49 Citations
11 Claims
-
1. A method for managing a distributed cache of a host channel adapter (HCA), comprising:
-
receiving a work request comprising a queue pair (QP) number; determining, by a cache control module of the HCA, that a QP state identified by the QP number is not in the distributed cache of the HCA, wherein the QP state comprises a plurality of data fields, and wherein the distributed cache comprises a plurality of sub-cache blocks; retrieving the QP state from main memory; identifying a first portion and a second portion of the QP state, wherein the first portion comprises a first subset of the plurality of data fields required by a first module of the HCA, and wherein the second portion comprises a second subset of the plurality of data fields required by a second module of the HCA; storing the first portion into a first entry of a first sub-cache block associated with the first module, wherein the first entry is identified by a QP index number, wherein the first sub-cache block is one of the plurality of sub-cache blocks; storing the second portion into a second entry of a second sub-cache block associated with the second module, wherein the second entry is identified by the QP index number, wherein the second sub-cache block is one of the plurality of sub-cache blocks; and returning the QP index number of the QP state to the first module and the second module. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
Specification