The RC QPs can be enabled for HW handshake mode, where the external hardware application can send and receive RDMA messages on this QP. The offloads the software posting of RDMA messages to external hardware application. To enable the HW handshake mode on a QP, the following steps need to be performed:
1. Enable software override by writing to XRNIC_ADV_CONF.
2. Reset the QP pointers by writing 0 to SQPIi, CQHEADi, and STATCURSQPTRi.
3. Configure remaining RQs to be processed by getting the difference between RQCIi and RQWPTRDBADDi and write the value to STATRQPIDBi at lower 2B.
4. Enable HW offload by writing to QPCONFi.
5. Disable software override by writing to XRNIC_ADV_CONF.