Commit dd414873 authored by Ziye Yang's avatar Ziye Yang Committed by Darek Stojaczyk
Browse files

nvme/tcp: Reorg the struct spdk_nvme_tcp_pdu



After reorganization, pahole tells me that it can save 8 bytes
for the structure.

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


Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: default avatarShuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: default avatarDarek Stojaczyk <dariusz.stojaczyk@intel.com>
parent 63d9d2e2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -103,10 +103,10 @@ struct nvme_tcp_pdu {

	uint32_t					ch_valid_bytes;
	uint32_t					psh_valid_bytes;
	int						ref;

	nvme_tcp_qpair_xfer_complete_cb			cb_fn;
	void						*cb_arg;
	int						ref;
	struct iovec					data_iov[NVME_TCP_MAX_SGL_DESCRIPTORS];
	uint32_t					data_iovcnt;
	uint32_t					data_len;