sock: correct the annotation

'enable_zerocopy_send_server' and 'enable_zerocopy_send_client' are used in
both posix and uring sockets.

Change-Id: I6139aa98039c853a953ecea773c82dad8285a3e4
Signed-off-by: Richael Zhuang <richael.zhuang@arm.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12586
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com>
Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>
This commit is contained in:
Richael Zhuang 2022-05-09 09:59:58 +08:00 committed by Tomasz Zawadzki
parent e0c4bba399
commit ae7294d48c

View File

@ -134,12 +134,12 @@ struct spdk_sock_impl_opts {
uint32_t enable_placement_id; uint32_t enable_placement_id;
/** /**
* Enable or disable use of zero copy flow on send for server sockets. Used by posix socket module. * Enable or disable use of zero copy flow on send for server sockets. Used by posix and uring socket modules.
*/ */
bool enable_zerocopy_send_server; bool enable_zerocopy_send_server;
/** /**
* Enable or disable use of zero copy flow on send for client sockets. Used by posix socket module. * Enable or disable use of zero copy flow on send for client sockets. Used by posix and uring socket modules.
*/ */
bool enable_zerocopy_send_client; bool enable_zerocopy_send_client;