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). ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access