Commit fd98a83c authored by Ziye Yang's avatar Ziye Yang Committed by Changpeng Liu
Browse files

nvmf/tcp: re-organize spdk_nvmf_tcp_req



Run the following command:
pahole ./app/nvmf_tgt/nvmf_tgt -R -C spdk_nvmf_tcp_req

It tells me change the bool definition location
of dif_insert_or_strip.

Change-Id: Ia43ab62bcc223a07e6415b2c769fe4af2b097f18
Signed-off-by: default avatarZiye Yang <ziye.yang@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/470401


Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: default avatarShuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
Reviewed-by: default avatarChangpeng Liu <changpeng.liu@intel.com>
parent 36e04eb4
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -171,6 +171,8 @@ struct spdk_nvmf_tcp_req {

	bool					has_incapsule_data;

	bool					dif_insert_or_strip;

	/* transfer_tag */
	uint16_t				ttag;

@@ -189,7 +191,6 @@ struct spdk_nvmf_tcp_req {
	uint32_t				c2h_data_pdu_num;

	struct spdk_dif_ctx			dif_ctx;
	bool					dif_insert_or_strip;
	uint32_t				elba_length;
	uint32_t				orig_length;