nvmf: increase emulated NVMe version to 1.3
Now that the NVMe-oF target emulated controller supports Identify with CNS = 03h (Namespace Identification Descriptor list), I believe we support all of the mandatory parts of NVMe 1.3, so let's increase the reported VS/VER fields to 1.3. Change-Id: Iee1052bf9ee1a0954f47770c7e5151886e63f11c Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-on: https://review.gerrithub.io/403891 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
parent
c937fab3cb
commit
b86ae8534a
@ -164,10 +164,10 @@ spdk_nvmf_ctrlr_create(struct spdk_nvmf_subsystem *subsystem,
|
||||
ctrlr->vcprop.cap.bits.mpsmin = 0; /* 2 ^ (12 + mpsmin) == 4k */
|
||||
ctrlr->vcprop.cap.bits.mpsmax = 0; /* 2 ^ (12 + mpsmax) == 4k */
|
||||
|
||||
/* Version Supported: 1.2.1 */
|
||||
/* Version Supported: 1.3 */
|
||||
ctrlr->vcprop.vs.bits.mjr = 1;
|
||||
ctrlr->vcprop.vs.bits.mnr = 2;
|
||||
ctrlr->vcprop.vs.bits.ter = 1;
|
||||
ctrlr->vcprop.vs.bits.mnr = 3;
|
||||
ctrlr->vcprop.vs.bits.ter = 0;
|
||||
|
||||
ctrlr->vcprop.cc.raw = 0;
|
||||
ctrlr->vcprop.cc.bits.en = 0; /* Init controller disabled */
|
||||
|
Loading…
Reference in New Issue
Block a user