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: Ziye Yang <ziye.yang@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/470401
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
This commit is contained in:
Ziye Yang 2019-10-04 14:21:45 +08:00 committed by Changpeng Liu
parent 36e04eb4ca
commit fd98a83ce7

View File

@ -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;