Directive Receive 命令返回一个取决于 Directive Type 的数据缓冲区。请参阅第 8.7 节。
Directive Receive 命令使用 Data Pointer、Command Dword 10 和 Command Dword 11 字段。
Command Dword 12 和 Dword 13 可以根据 Directive Type 字段和 Directive Operation 字段使用。保留所有其他命令特定字段。
如果 Number of Dwords (NUMD) 字段对应的长度小于要返回的数据结构的大小,则仅传输数据结构的指定部分。如果 NUMD 字段对应的长度大于相关数据结构的大小,则传输数据结构的全部内容并且不传输其他数据。
| Bits | Description |
|---|---|
| 127:00 | Data Pointer (DPTR): 该字段指定数据缓冲区的开始。有关该字段的定义,请参见Figure 87。 |
| Bits | Description |
|---|---|
| 31:00 | Number of Dwords (NUMD): 该字段指定要传输的dword的数目。这是一个基于 0 的值。 |
| Bits | Description |
|---|---|
| 31:16 | Directive Specific (DSPEC): 该字段的解释取决于 Directive Type。请参阅第 8.7 节。 |
| 15:08 | Directive Type (DTYPE): 该字段指定 Directive Type。有关 Directive Types 的列表,请参见 Figure 416。 |
| 07:00 | Directive Operation (DOPER): 此字段指定要执行的 Directive Operation。该字段的解释取决于 Directive Type。请参阅第 8.7 节。 |
当命令完成时,控制器将完成队列条目发布到 Admin Completion Queue,指示命令的状态。可能返回的命令特定状态值取决于 Directive Type,请参阅第 8.7 节。
Directive Receive 命令特定状态值在Figure 177 中定义。
| Value | Description |
|---|---|
| 20h | Namespace is Write Protected: 该命令被禁止因为命名空间处于写保护状态(参见第 8.12 节)。 |
Directive Send 命令将取决于 Directive Type 的数据缓冲区传输到控制器。请参阅第 8.7 节。 Directive Send 命令使用 Data Pointer、Command Dword 10 和Command Dword 11 字段。可以基于 Directive Type 字段和 Directive Operation 字段使用Command Dword 12 和Command Dword 13。保留所有其他命令特定字段。
| Bits | Description |
|---|---|
| 127:00 | Data Pointer (DPTR): 该字段指定数据缓冲区的开始。有关该字段的定义,请参见Figure 87。 |
| Bits | Description |
|---|---|
| 31:00 | Number of Dwords (NUMD): 该字段指定要传输的dwords的数目。这是一个基于 0 的值。 |
| Bits | Description |
|---|---|
| 31:16 | Directive Specific (DSPEC): 该字段的解释取决于 Directive Type。请参阅第 8.7 节。 |
| 15:08 | Directive Type (DTYPE): 该字段指定 Directive Type。有关 Directive Types 的列表,请参见 Figure 416。 |
| 07:00 | Directive Operation (DOPER): 此字段指定要执行的 Directive Operation。该字段的解释取决于 Directive Type。请参阅第 8.7 节。 |
当命令完成时,控制器将完成队列条目发布到 Admin Completion Queue,指示命令的状态。可能返回的命令特定状态值取决于 Directive Type,请参阅第 8.7 节。