Registering a Handler

Software executes the Set Asynchronous Event Handler verb to register a handler to be called when an asynchronous event or an asynchronous error is encountered by the HCA.

Whenever one of these events or errors is encountered by the HCA, it alerts its device driver (typically via an interrupt). The parameters passed to the driver are:

  • The HCA handle.

  • An Event record. This contains information indicating the resource type and the RID (Record ID), as well as which event occurred (RIDs are covered in “Detailed Description of SA” on page 917).

The driver, in turn, calls the Asynchronous Event Handler and passes the HCA handle and the event record to it.

Get InfiniBand Network Architecture now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.