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: Ziye Yang <ziye.yang@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/460579 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
This commit is contained in:
parent
63d9d2e2b0
commit
dd414873f6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user