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).
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