nvmf: add copy command support in get log page

add copy command support in get log page and idenfity tool

Change-Id: I8771ffb193fc80ffc12f068993005e5702f41a0d
Signed-off-by: Rui Chang <rui.chang@arm.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/17162
Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
Rui Chang 2023-02-28 17:34:29 +08:00 committed by Konrad Sztyber
parent 3189582989
commit d0516312ff
2 changed files with 4 additions and 0 deletions

View File

@ -1574,6 +1574,8 @@ io_opc_name(uint8_t opc)
return "Reservation Acquire";
case SPDK_NVME_OPC_RESERVATION_RELEASE:
return "Reservation Release";
case SPDK_NVME_OPC_COPY:
return "Copy";
default:
if (opc >= 0x80) {
return "Vendor specific";

View File

@ -2404,6 +2404,8 @@ static const struct spdk_nvme_cmds_and_effect_log_page g_cmds_and_effect_log_pag
[SPDK_NVME_OPC_ZONE_MGMT_SEND] = {1, 1, 0, 0, 0, 0, 0, 0},
/* ZONE MANAGEMENT RECEIVE */
[SPDK_NVME_OPC_ZONE_MGMT_RECV] = {1, 0, 0, 0, 0, 0, 0, 0},
/* COPY */
[SPDK_NVME_OPC_COPY] = {1, 1, 0, 0, 0, 0, 0, 0},
},
};