Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
example: fix mi identify failed with error cntid
This command failed when we try to identify a controller that the controller id is 1. Refer to the `Figure 273: Identify - CNS Values`: +-----------+-------+ | CNS Value | CNTID | +-----------+-------+ | 01h | N | +-----------+-------+ When CNS is 01h, the CNTID field is ignored. See `Figure 270: Identify - Command Dword 10`: If this field is not used as part of the Identify operation, then * host software shall clear this field to 0h for backwards compatibility (0h is a valid controller identifier); * and the controller shall ignore this field. This filed is set to controller id in the example code, but it should be 0 when CNS is 1. PS: The NVMe that we are testing does not ignore the CNTID field and returns an error when the CNTID field is not 0. Signed-off-by: Jian Zhang <zhangjian.3032@bytedance.com>
- Loading branch information