5.14 Set Feature Command

5.14 Set Feature Command

Set Feature Command 规定了Feature的属性。
Set Feature Command使用 data pointer ,Command Dword10, Command Dword11, Command Dword12, Command Dword13, Command Dword14和Command Dword15字段。其他命令指定字段是保留的,
Figure 268: Set Features – Data Pointer

BitsDescription
127:00Data Pointer (DPTR): This field specifies the start of the data buffer. Refer to Figure 105 for the definition of this field. If using PRPs, this field shall not be a pointer to a PRP List as the data buffer may not cross more than one page boundary. If no data structure is used as part of the specified feature, then this field is not used.

下面会针对每个Command Dword做一个详细的解释。
Set Features – Command Dword 10

BitsDescription
31Save (SV): 该位指定控制器应保存该属性,以便该属性在所有电源状态和reset期间保持不变。控制器在图247中识别控制器数据结构的可选NVM命令支持字段的第4位指示是否支持该位。如果控制器不可保存Set Features(设置特征)命令中指定的特征标识符,并且控制器接收到Save(保存)位设置为1的Set Features命令,则该命令应中止,状态为Feature Identifier not saveable(特征标识符不可保存)。
30:08Reserved
07:00Feature Identifier (FID): 这个字段指定feature的标识符

如果控制器支持通过Set Features(设置特征)命令选择UUID(参见图271和第8.24节),并且控制器支持为指定的供应商特定特征标识符选择UUID,则 Command Dword 14用于指定UUID索引值(参见图270)。如果控制器不支持通过设置特征命令来选择UUID,或者控制器不支持为指定的供应商特定特征标识符选择UUID的话,那么 Command Dword 14不指定UUID索引值。
Figure 270: Set Features – Command Dword 14

BitsDescription
31:07Reserved
06:00UUID Index: Refer to Figure 498, Figure 498

5.21.1 Feature Specific Information
图271定义了可以使用Set Features命令配置和使用Get Features命令检索的Features。图272定义了NVM命令集特有的功能。有关各种控制器类型的强制、可选和禁止功能,请参阅第7.1节。一些功能使用内存缓冲区来配置或返回功能的属性,而另一些功能仅使用命令或完成队列条目中的dword。跨电源不持久的功能值作为控制器重置操作的一部分,循环和重置被恢复到它们的默认值。有关功能的更多信息包括默认值定义、可保存值定义和当前值定义,请参阅第7.8节。
当功能发生更改时,可能会执行一些命令。当功能更改时,新设置可能适用于也可能不适用于已提交执行的命令。成功完成“设置功能”命令后提交给提交队列的任何命令都应使用相关功能的新设置。为确保Features值适用于所有后续命令,主机应允许在发出Set Features命令之前完成正在处理的命令。如果控制器不支持某个特征的可更改值(例如,该特征不可更改),并且处理了该特征的“设置特征”命令,则如果该命令指定的特征值:
Figure 271: Set Features – Feature Identifiers

Feature IdentifierCurrent Setting PersistsAcross Power Cycle and Reset 2Uses Memory Buffer for AttributesFeature Name
00hReserved
01hNoNoArbitration
02hNoNoPower Management
03hYesNoLBA Range Type
04hNoNoTemperature Threshold
05hNoNoError Recovery
06hNoNoVolatile Write Cache
07hNoNoNumber of Queues
08hNoNoInterrupt Coalescing
09hNoNoInterrupt Vector Configuration
0AhNoNoWrite Atomicity Normal
0BhNoNoAsynchronous Event Configuration
0ChNoYesAutonomous Power State Transition
0DhNo 3No 4Host Memory Buffer
0EhNoYesTimestamp
0FhNoNoKeep Alive Timer
10hYesNoHost Controlled Thermal Management
11hNoNoNon-Operational Power State Config
12hYesNoRead Recovery Level Config
13hNoYesPredictable Latency Mode Config
14hNoNoPredictable Latency Mode Window
15hNoNoLBA Status Information Report Interva
16hNoYesHost Behavior Support
17hYesNoSanitize Config
18hNoNoEndurance Group Event Configuration
19h to 77hReserved
78h to 7FhRefer to the NVMe Management Interface Specification for definition
80h to BFhCommand Set Specific (Reserved)
C0h to FFhVendor Specific1, 5

Figure 272: Set Features, NVM Command Set Specific – Feature Identifiers

Feature IdentifierCurrent Setting PersistsAcross Power Cycle and Reset 1UsesMemory Buffer for AttributesFeature Name
80hYesNoSoftware Progress Marker
81hNoYesHost Identifier
82hNoNoReservation Notification Mask
83hYesNoReservation Persistence
84hNoNoNamespace Write Protection Config
85h to BFhNoYesReserved
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

煮雨小哥

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值