Setting Up an HCA Port's SMI

When a privileged application (e.g., the SM) wishes to use an HCA port's SMI to transmit and receive SMPs, software activates the port's SMI (i.e., its QP0) by first creating the CQ(s) to be associated with the QP's SQ and RQ (using the Create CQ verb). An SMI QP cannot share a CQ with any QP other than another SMI or a GSI. 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 SMI 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.