nvmf/tcp: Repack spdk_nvmf_tcp_req structure

Signed-off-by: Alexey Marchuk <alexeymar@mellanox.com>
Change-Id: I4ca230a8a5ad01bb72cece4ce4cf543db144fcce
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4759
Community-CI: Mellanox Build Bot
Reviewed-by: Ziye Yang <ziye.yang@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
Alexey Marchuk 2020-10-19 08:42:18 +03:00 committed by Tomasz Zawadzki
parent c1fbbfbe56
commit a85057ea07

View File

@ -175,6 +175,8 @@ struct spdk_nvmf_tcp_req {
* not the incoming PDU! */
struct nvme_tcp_pdu *pdu;
/* In-capsule data buffer */
uint8_t *buf;
/*
* The PDU for a request may be used multiple times in serial over
* the request's lifetime. For example, first to send an R2T, then
@ -182,10 +184,6 @@ struct spdk_nvmf_tcp_req {
* twice at the same time, add a debug flag here for init/fini.
*/
bool pdu_in_use;
/* In-capsule data buffer */
uint8_t *buf;
bool has_incapsule_data;
/* transfer_tag */