QP Creation
First, Create QP's CQ(s)...
Before software creates a QP, it must first create the one or two CQs to be associated with the SQ and RQ of the QP about to be created. This is accomplished by calling the Create CQ verb one or twice (see “CQ(s) and PD Created Before Creating the Local QP” on page 187).
...then Create the QP
After creating the CQ(s), software creates a QP by executing the Create QP verb call. For more information on the Create QP verb, see “Create QP Verb” on page 221.
Create QP Verb Results
The results of the verb call will be one of the following:
Operation completed successfully.
Insufficient resources to complete request.
Invalid HCA handle.
Invalid CQ handle.
Maximum number of Work Requests requested exceeds HCA capability. ...
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.