Patent ID: 9256555
Filing Date: 2016-02-09
CPC Classification: G06F,H04L

Claim Text:
1. A method for managing a queue descriptor cache of a host channel adaptor (HCA), comprising: obtaining a queue descriptor from memory, wherein the queue descriptor comprises a plurality of data describing a queue and wherein the memory is located in a host system; storing a copy of the queue descriptor in the queue descriptor cache of the HCA; accessing, by the HCA, the copy of the queue descriptor to obtain the plurality of data; accessing, by the HCA and using the plurality of data, the queue; updating, by the HCA, the plurality of data to reflect the access to the queue; calculating, using the plurality of data, a value corresponding to utilization of the queue; comparing the value against a threshold; fetching, if the value exceeds the threshold, a new copy of the queue descriptor from memory; and replacing the copy of the queue descriptor in the queue descriptor cache with the new copy obtained from the memory.