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.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset