Page MenuHomeFreeBSD

D41311.diff
No OneTemporary

D41311.diff

diff --git a/sys/dev/nvme/nvme.h b/sys/dev/nvme/nvme.h
--- a/sys/dev/nvme/nvme.h
+++ b/sys/dev/nvme/nvme.h
@@ -851,8 +851,14 @@
NVME_OPC_VIRTUALIZATION_MANAGEMENT = 0x1c,
NVME_OPC_NVME_MI_SEND = 0x1d,
NVME_OPC_NVME_MI_RECEIVE = 0x1e,
- /* 0x1f-0x7b - reserved */
+ /* 0x1f - reserved */
+ NVME_OPC_CAPACITY_MANAGEMENT = 0x20,
+ /* 0x21-0x23 - reserved */
+ NVME_OPC_LOCKDOWN = 0x24,
+ /* 0x15-0x7b - reserved */
NVME_OPC_DOORBELL_BUFFER_CONFIG = 0x7c,
+ /* 0x7d-0x7e - reserved */
+ NVME_OPC_FABRICS_COMMANDS = 0x7f,
NVME_OPC_FORMAT_NVM = 0x80,
NVME_OPC_SECURITY_SEND = 0x81,
@@ -882,6 +888,8 @@
NVME_OPC_RESERVATION_ACQUIRE = 0x11,
/* 0x12-0x14 - reserved */
NVME_OPC_RESERVATION_RELEASE = 0x15,
+ /* 0x16-0x18 - reserved */
+ NVME_OPC_COPY = 0x19,
};
enum nvme_feature {
diff --git a/sys/dev/nvme/nvme_qpair.c b/sys/dev/nvme/nvme_qpair.c
--- a/sys/dev/nvme/nvme_qpair.c
+++ b/sys/dev/nvme/nvme_qpair.c
@@ -73,7 +73,10 @@
{ NVME_OPC_VIRTUALIZATION_MANAGEMENT, "VIRTUALIZATION MANAGEMENT" },
{ NVME_OPC_NVME_MI_SEND, "NVME-MI SEND" },
{ NVME_OPC_NVME_MI_RECEIVE, "NVME-MI RECEIVE" },
+ { NVME_OPC_CAPACITY_MANAGEMENT, "CAPACITY MANAGEMENT" },
+ { NVME_OPC_LOCKDOWN, "LOCKDOWN" },
{ NVME_OPC_DOORBELL_BUFFER_CONFIG, "DOORBELL BUFFER CONFIG" },
+ { NVME_OPC_FABRICS_COMMANDS, "FABRICS COMMANDS" },
{ NVME_OPC_FORMAT_NVM, "FORMAT NVM" },
{ NVME_OPC_SECURITY_SEND, "SECURITY SEND" },
{ NVME_OPC_SECURITY_RECEIVE, "SECURITY RECEIVE" },
@@ -95,6 +98,7 @@
{ NVME_OPC_RESERVATION_REPORT, "RESERVATION REPORT" },
{ NVME_OPC_RESERVATION_ACQUIRE, "RESERVATION ACQUIRE" },
{ NVME_OPC_RESERVATION_RELEASE, "RESERVATION RELEASE" },
+ { NVME_OPC_COPY, "COPY" },
{ 0xFFFF, "IO COMMAND" }
};

File Metadata

Mime Type
text/plain
Expires
Thu, Nov 21, 1:52 AM (20 h, 22 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14751913
Default Alt Text
D41311.diff (1 KB)

Event Timeline