summaryrefslogtreecommitdiffstats
path: root/plugins/zns/zns.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/zns/zns.h')
-rw-r--r--plugins/zns/zns.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/plugins/zns/zns.h b/plugins/zns/zns.h
new file mode 100644
index 0000000..a92de69
--- /dev/null
+++ b/plugins/zns/zns.h
@@ -0,0 +1,30 @@
+#undef CMD_INC_FILE
+#define CMD_INC_FILE plugins/zns/zns
+
+#if !defined(ZNS_NVME) || defined(CMD_HEADER_MULTI_READ)
+#define ZNS_NVME
+
+#include "cmd.h"
+
+PLUGIN(NAME("zns", "Zoned Namespace Command Set"),
+ COMMAND_LIST(
+ ENTRY("id-ctrl", "Retrieve ZNS controller identification", id_ctrl)
+ ENTRY("id-ns", "Retrieve ZNS namespace identification", id_ns)
+ ENTRY("zone-mgmt-recv", "Sends the zone management receive command", zone_mgmt_recv)
+ ENTRY("zone-mgmt-send", "Sends the zone management send command", zone_mgmt_send)
+ ENTRY("report-zones", "Retrieve the Report Zones report", report_zones)
+ ENTRY("close-zone", "Closes one or more zones", close_zone)
+ ENTRY("finish-zone", "Finishes one or more zones", finish_zone)
+ ENTRY("open-zone", "Opens one or more zones", open_zone)
+ ENTRY("reset-zone", "Resets one or more zones", reset_zone)
+ ENTRY("offline-zone", "Offlines one or more zones", offline_zone)
+ ENTRY("set-zone-desc", "Attaches zone descriptor extension data", set_zone_desc)
+ ENTRY("zone-append", "Writes data and metadata (if applicable), appended to the end of the requested zone", zone_append)
+ ENTRY("changed-zone-list", "Retrieves the changed zone list log", changed_zone_list)
+ )
+);
+
+#endif
+
+#include "define_cmd.h"
+