Commit 9b19abae authored by Alexey Marchuk's avatar Alexey Marchuk Committed by Tomasz Zawadzki
Browse files

sock/posix: Disable zcopy send by default



Signed-off-by: default avatarAlexey Marchuk <alexeymar@mellanox.com>
Change-Id: I4825c681d742946dfcf5bdc209356194766a15cd
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4978


Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: default avatarTomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
parent d296fcd8
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1412,8 +1412,8 @@ static void usage(char *program_name)
	printf("\t");
	spdk_log_usage(stdout, "-T");
	printf("\t[-V enable VMD enumeration]\n");
	printf("\t[-z disable zero copy send for the given sock implementation]\n");
	printf("\t[-Z enable zero copy send for the given sock implementation. Default for posix impl]\n");
	printf("\t[-z disable zero copy send for the given sock implementation. Default for posix impl]\n");
	printf("\t[-Z enable zero copy send for the given sock implementation]\n");
	printf("\t[-A IO buffer alignment. Must be power of 2 and not less than cache line (%u)]\n",
	       SPDK_CACHE_LINE_SIZE);
	printf("\t[-S set the default sock impl, e.g. \"posix\"]\n");
+1 −1
Original line number Diff line number Diff line
@@ -81,7 +81,7 @@ static struct spdk_sock_impl_opts g_spdk_posix_sock_impl_opts = {
	.recv_buf_size = MIN_SO_RCVBUF_SIZE,
	.send_buf_size = MIN_SO_SNDBUF_SIZE,
	.enable_recv_pipe = true,
	.enable_zerocopy_send = true,
	.enable_zerocopy_send = false,
	.enable_quickack = false,
	.enable_placement_id = false,
};