sock/posix: Disable zcopy send by default
Signed-off-by: Alexey Marchuk <alexeymar@mellanox.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4978 (master)
(cherry picked from commit 9b19abae3c
)
Change-Id: I4825c681d742946dfcf5bdc209356194766a15cd
Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4982
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Reviewed-by: Paul Luse <paul.e.luse@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
parent
8a0f9cf3a7
commit
ba9c5abe86
@ -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");
|
||||
|
@ -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,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user