Namespace Identification Descriptor list (CNS 03h)

如果Namespace Identifier (NSID) 字段中指定的namespace是active NSID,则将Namespace Identification Descriptor结构列表(参见图 277)返回给主机。 如果 NSID 字段未指定active NSID,则请参阅第 3.2.1.5 节以了解要返回的状态码。

控制器可以返回适合 4,096 字节Identify负载的任意数量的可变长度的Namespace Identification Descriptor结构。 Namespace Identification Descriptor结构之后的所有剩余字节应清为 0h,主机应将Namespace Identifier Descriptor Length (NIDL) 值 0h 解释为列表结尾。 主机应忽略主机不支持的Namespace Identifier Type的任何Namespace Identification Descriptor。
控制器不应返回具有相同Namespace Identifier Type (NIDT) 的多个descriptors。 控制器应返回至少一个identify namespace的descriptor(即 NIDT=1、NIDT=2 或 NIDT=3)。 如果 CAP.CSS 第 6 位设置为“1”,则应返回Command Set Identifier NID (即 NIDT=4)。

图277: Identify – Namespace Identification Descriptor
BytesDescription
00Namespace Identifier Type (NIDT):该字段指Namespace Identifier字段中包含的数据类型以及下表中定义的该类型的长度。
ValueLength(NIDL)Definition
0hReserved
1h8hIEEE Extended Unique Identifier: NID 字段包含Identify Namespace data structure中 EUI64 字段的副本(请参阅适用的 I/O Command Set规范)。 如果Identify Namespace data structure的 EUI64 字段不支持(即,EUI64 字段被清为 0h),则controller不应报告具有类型 1h 值的Namespace Identification Descriptor。
2h10hNamespace Globally Unique Identifier: NID 字段包含Identify Namespace data structure中 NGUID 字段的副本(请参阅适用的 I/O 命令集规范)。 如果Identify Namespace data structure的 NGUID 字段不支持(即,NGUID 字段被清为 0h),则controller不应报告具有类型 2h 值的Namespace Identification Descriptor。
3h10hNamespace UUID: NID 字段包含 RFC 4122 中指定的 128 位Universally Unique Identifier(UUID)。请参阅第 4.3.6 节。
如果namespace不支持IEEE Extended Unique Identifier(即 EUI64 字段被清为 0h)并且Namespace Globally Unique Identifier不支持(即 NGUID 字段被清为 0h),那么命名空间应报告具有类型 3h 值的Namespace Identification Descriptor。
4h1hCommand Set Identifier (CSI): NID 字段包含在此namespace上运行的I/O Command Set。 参见图 274。
5h to FFhReserved
01Namespace Identifier Length (NIDL): 该字段包含 Namespace Identifier (NID) 字段的字节长度。 Namespace Identification Descriptor的总长度(以字节为单位)是该字段中的值加 4。 如果该字段被清为 0h,则表示Namespace Identification Descriptor列表的结尾。
02:03Reserved
(NIDL + 3):04Namespace Identifier (NID): 此字段包含一个全局唯一的值,并在创建namespace时分配给namespace。 该字段在namespace的整个生命周期中固定不变,并在namespace和controller操作(例如,Controller Level Reset, namespace format等)中保留。 值的类型由Namespace Identifier Type (NIDT) 字段指定,大小由Namespace Identifier Length (NIDL) 字段指定。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值