nvmf: fix NVMf-specific Identify Controller offset
The access to the NVMf IOCCSZ (I/O Queue Command Capsule Supported Size) field in the Identify Controller data was incorrect. Change-Id: I23b0aa175de8e5d8a0220e9c35e0cb6868121cb5 Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
parent
196dfe4278
commit
e056066733
@ -367,7 +367,7 @@ nvmf_init_conn_properites(struct spdk_nvmf_conn *conn,
|
||||
}
|
||||
|
||||
/* increase the I/O recv capsule size for in_capsule data */
|
||||
lcdata = (struct spdk_nvmf_extended_identify_ctrlr_data *)&session->vcdata.reserved5[1088];
|
||||
lcdata = (struct spdk_nvmf_extended_identify_ctrlr_data *)session->vcdata.nvmf_specific;
|
||||
lcdata->ioccsz += (SPDK_NVMF_MAX_RECV_DATA_TRANSFER_SIZE / 16);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user