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.

  • Maximum number of scatter/gather elements requested exceeds HCA capability.

  • Invalid Protection Domain.

  • Invalid Service Type for this QP.

  • Invalid Reliable Datagram Domain (RDD; only applicable to the RD QP).

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset