Preparing an HCA GSI for Use

When a privileged application (i.e., a GSM) wishes to use a port's GSI to transmit and receive GMPs, software activates the port's GSI (i.e., its QP1) by first creating the CQ(s) to be associated with the QP's SQ and RQ (using the Create CQ verb). A GSI QP cannot share a CQ with any QP other than another GSI or an SMI. An attempt to do so results in the return of an immediate Invalid CQ Handle error.

After creation of the required CQ(s), software then executes the Get Special QP verb with the following input parameters:

  • HCA Handle. Identifies the HCA on which the QP is to be activated.

  • HCA port number. Identifies the HCA port whose GSI is being activated.

  • QP type requested. The allowed types are:

    - SMI QP (QP0).

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.