Patent ID: 6718370
Filing Date: 2004-04-06
Classification: H04L

Abstract:
A system comprising:multiple work queues each configured to send and receive message data via one or more hardware adapters; multiple completion queues each configured to coalesce completions from multiple work queues belonging to a single hardware adapter; and a completion queue management mechanism configured to check for completions across multiple completion queues in the context of either a single thread or multiple threads of operation; wherein said completion queue management mechanism is installed in kernel-level device drivers of a host operating system (OS) to provide a single completion service for checking for completion events across said multiple completion queues and processing said completion events; and wherein said single completion service is provided with the following: a first function which, when invoked, monitors different work queues for inbound and outbound completions respectively in respective work queue list; a second function which, when invoked, stops monitoring different work queues for inbound and outbound completions from respective work queue list; a third function which, when invoked, checks for completion events across said multiple completion queues and processes said completion events; and a fourth function which, when invoked, resets all work queues that had completion events and performs an additional check on the work queues for completion events.