+4
−3
+0
−1
Loading
1 Change the default factor from 4 to 8, which can be used to improve the performance. 2 Change the base buffer size in nvme_tcp.c, we should not use sizeof(struct spdk_nvme_tcp_cmd), it is 72 bytes. Normally, the initiator will receive C2h pdus and R2T Pdus by most, so set the size of using sizeof(struct spdk_nvme_tcp_c2h_data_hdr) is enough. Signed-off-by:Ziye Yang <ziye.yang@intel.com> Change-Id: I384f4cb026cb8d83e75b639f7256ee8cb8ed1df1 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/3283 Community-CI: Mellanox Build Bot Community-CI: Broadcom CI Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by:
Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Reviewed-by:
John Kariuki <John.K.Kariuki@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com>