Skip to content

Commit

Permalink
types: add kv opcodes
Browse files Browse the repository at this point in the history
KV Opcodes have been added.

Signed-off-by: rick <[email protected]>
Signed-off-by: laiaferrer <[email protected]>
  • Loading branch information
laiaferrer authored and igaw committed Sep 16, 2024
1 parent 5585f06 commit 79c73e6
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions src/nvme/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -8350,6 +8350,32 @@ enum nvme_io_opcode {
nvme_zns_cmd_append = 0x7d,
};

/**
* enum nvme_kv_opcode - Opcodes for KV Commands
* @nvme_kv_cmd_flush: Flush
* @nvme_kv_cmd_store: Store
* @nvme_kv_cmd_retrieve: Retrieve
* @nvme_kv_cmd_list: List
* @nvme_kv_cmd_resv_register: Reservation Register
* @nvme_kv_cmd_resv_report: Reservation Report
* @nvme_kv_cmd_delete: Delete
* @nvme_kv_cmd_resv_acquire: Reservation Acquire
* @nvme_kv_cmd_exist: Exist
* @nvme_kv_cmd_resv_release: Reservation Release
*/
enum nvme_kv_opcode {
nvme_kv_cmd_flush = 0x00,
nvme_kv_cmd_store = 0x01,
nvme_kv_cmd_retrieve = 0x02,
nvme_kv_cmd_list = 0x06,
nvme_kv_cmd_resv_register = 0x0d,
nvme_kv_cmd_resv_report = 0x0e,
nvme_kv_cmd_delete = 0x10,
nvme_kv_cmd_resv_acquire = 0x11,
nvme_kv_cmd_exist = 0x14,
nvme_kv_cmd_resv_release = 0x15,
};

/**
* enum nvme_io_control_flags - I/O control flags
* @NVME_IO_DTYPE_STREAMS: Directive Type Streams
Expand Down

0 comments on commit 79c73e6

Please sign in to comment.