×

Method and system for queue descriptor cache management for a host channel adapter

  • US 9,256,555 B2
  • Filed: 12/20/2012
  • Issued: 02/09/2016
  • Est. Priority Date: 12/20/2012
  • Status: Active Grant
First Claim
Patent Images

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.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×