NVM-Express-Base-Specification查询支持KV命令集的情况

 

identify命令

(1)Identify Controller Data Structure (CNS 01h)

下发命令请求中在cdw10中指定CNS:

image

下边这几个查询,需要按照命令请求cdw11中CSI指定的命令集去查询和返回信息(例如:如果指定查询kv命令集的namespace,那么返回信息只包括kv命令集的namespace,其他NVM命令集和ZNS命令集的namespace都不在这个指定的返回信息之列):

image

 

image

 

下发命令请求时在cdw11中指定命令集

image

 

返回的查询信息:

When issuing the Identify command, if the specified namespace is not associated with an I/O Command
Set that supports the specified Identify CNS value (refer to Figure 326), then the controller shall abort the
command with a status code of Invalid I/O Command Set.

如果不支持指定的命令集,则返回错误。

在正常返回的信息中,KV相关的在第358字节中有表示:

image

 

 

(2)Identify I/O Command Set data structure (CNS 1Ch)
查询支持的命令集时,返回信息结构是4K的数据中,每8字节一条,每条是

image

 

把支持的命令集对应的bit位赋值1:

image

 

posted @ 2026-07-17 14:38  JamesLi_1119401255  阅读(3)  评论(0)    收藏  举报