The user application sends the CMPT packet to the QDMA.
The CMPT packet and data packet do not require a one-to-one match. For example, the immediate data packet only has the CMPT packet, and does not have the data packet. The disable completion packet only has the data packet and does not have the CMPT packet.
Each CMPT packet has a CMPT ID. It is the ID for the associated CMPT queue. Each CMPT queue has a CMPT Context. The driver sets up the mapping of the C2H descriptor queue to the CMPT queue. There also can be a CMPT queue that is not associated to a C2H queue.
The following is the CMPT packet from the user application.
The CMPT packet has four types: 8B, 16B, 32B, or 64B. It has just one pump of data with 512 bits.