Commit d0516312 authored by Rui Chang's avatar Rui Chang Committed by Konrad Sztyber
Browse files

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: default avatarRui Chang <rui.chang@arm.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/17162


Reviewed-by: default avatarShuhei Matsumoto <smatsumoto@nvidia.com>
Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: default avatarKonrad Sztyber <konrad.sztyber@intel.com>
Community-CI: Mellanox Build Bot
Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
parent 31895829
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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";
+2 −0
Original line number Diff line number Diff line
@@ -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},
	},
};