For every work request that is submitted to the NVMe TC IP, a completion is provided by the IP to the corresponding hardware or software application. This can be used by the application to free up resources linked to the particular work request. The format of the work queue completion is given in the following table. The same completion is provided on the software as well as the hardware interface.
Bitwidth | Field | Size (Bits) | Description |
---|---|---|---|
[15:0] | WRID | 16 | Work Request ID. Unique Identifier for every WQE |
[31:16] | SQID | 16 | Submission Queue ID |
[47:32] | FNID | 16 | Physical/Virtual Function ID |
[59:48] | CREDIT | 12 | SW WQE Request FIFO available credits (to be ignored by the hardware application) |
[63:60] | STATUS | 4 | Work completion status:
|
The credit information in the work request completion is only valid for the software interface.