SQ Logic Can Use MSN to Complete WQEs

Initial State of MSN and SSN

When a RC QP is first created, its MSN and SSN are initialized as follows:

  • The RQ Logic sets its MSN = 000000h.

  • The SQ Logic sets its SSN = 000000h. The first WQE posted to the SQ has an SSN of one. As each WR is posted to the SQ, the SQ Logic assigns it the next sequential SSN.

MSN Change Indicates One or More Messages Completed

The responder QP's RQ Logic returns its current credit count and MSN value in each Ack packet's AETH (see Figure 17-6 on page 369). In Figure 17-21 on page 430 the first WQE posted to the requester QP's SQ Logic causes it to start a two-packet Send operation. The two packets have PSNs of 15 and 16, respectively:

  1. The responder QP's RQ Logic receives the ...

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.