一、part of register definition
start | end | symbol | description |
14h | 17h | CC | Controller Configuration |
二、CC – Controller Configuration
This register modifies settings for the controller.
Host software shall set the Arbitration Mechanism (CC.AMS), the Memory Page Size (CC.MPS), and the Command Set (CC.CSS) to valid values prior to enabling the controller by setting CC.EN to ‘1’.
如果未设置合适的仲裁机制,控制器可能无法正确处理多个请求的资源分配,导致某些请求无法及时处理或系统资源分配不均;
未设置正确的内存页面大小可能导致内存操作错误,影响数据的存储和读取;
错误的命令集可能导致控制器无法正确理解和执行主机发送的指令,使系统无法正常工作
Attempting to create an I/O queue before initializing the I/O Completion Queue Entry Size (CC.IOCQES) and the I/O Submission Queue Entry Size (CC.IOSQES) should cause a controller to abort a Create I/O Completion Queue command or a Create I/O Submission Queue command with a status code of Invalid Queue Size
例如,在一个存储系统中,如果 I/O 提交队列的条目大小未确定,存储操作可能会将数据存储在错误的位置或无法存储,因为系统不知道每个条目所需的空间,这可能会导致数据的不完整存储或存储位置的混乱,进而影响系统的数据完整性和可靠性
Bits | Type | Reset | Description |
31:24 | RO | 0h | reserved |
23:20 | RW/RO | 0h | I/O Completion Queue Entry Size (IOCQES) This field defines the I/O Completion Queue entry size that is used for |