Spdk/lib/sock
Shuhei Matsumoto 61cd9d308e lib/sock: Add option to enable or disable quick ACK
TCP delayed ACK can be disabled or enabled by enabling or disabling
quick ACK, respectively.

The recently added spdk_sock_impl_opts is helpful for sock library
to control quick ACK.

Hence this patch adds and uses an option enable_quickack. The option
is effective only for the POSIX sock module.

We have spdk_sock_opts now too but spdk_sock_impl_opts will be better
for this case.

This option is not supported on FreeBSD. FreeBSD users can set the
option globally via sysctl if desired.

Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Change-Id: Ic89620267acce5872dc8ecaf7a99bb70ae97e993
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/3603
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2020-08-10 11:29:20 +00:00
..
Makefile sock/rpc: Add sock_impl_get/set_options RPC methods 2020-07-07 07:32:32 +00:00
net_framework.c sock/net_framework: Adding a static inline function to get next framework. 2020-06-17 07:21:28 +00:00
sock_rpc.c lib/sock: Add option to enable or disable quick ACK 2020-08-10 11:29:20 +00:00
sock.c sock: Add sock_impl option to disable zero copy on send 2020-07-24 00:30:45 +00:00
spdk_sock.map sock: Save socket subsystem configuration in JSON format 2020-07-13 08:40:15 +00:00