From 3a82f5fa22f6ed0f6ec434f2e6bf2da23017f189 Mon Sep 17 00:00:00 2001 From: Richael Zhuang Date: Mon, 9 May 2022 10:58:01 +0800 Subject: [PATCH] doc: update sock documentation add zerocopy_threshold related information in jsonrpc.md Change-Id: I9fbea29f39c532af41b33da81420c0c6d3200031 Signed-off-by: Richael Zhuang Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12585 Community-CI: Broadcom CI Tested-by: SPDK CI Jenkins Reviewed-by: Aleksey Marchuk Reviewed-by: Paul Luse Reviewed-by: Jim Harris --- doc/jsonrpc.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/jsonrpc.md b/doc/jsonrpc.md index a3b2d79a5..bcc83ea78 100644 --- a/doc/jsonrpc.md +++ b/doc/jsonrpc.md @@ -9379,7 +9379,8 @@ Example response: "enable_quickack": true, "enable_placement_id": 0, "enable_zerocopy_send_server": true, - "enable_zerocopy_send_client": false + "enable_zerocopy_send_client": false, + "zerocopy_threshold": 0 } } ~~~ @@ -9400,6 +9401,8 @@ enable_quick_ack | Optional | boolean | Enable or disable quick A enable_placement_id | Optional | number | Enable or disable placement_id. 0:disable,1:incoming_napi,2:incoming_cpu enable_zerocopy_send_server | Optional | boolean | Enable or disable zero copy on send for server sockets enable_zerocopy_send_client | Optional | boolean | Enable or disable zero copy on send for client sockets +zerocopy_threshold | Optional | number | Set zerocopy_threshold in bytes. A consecutive sequence of requests' iovecs +that fall below this threshold may be sent without zerocopy flag set #### Response @@ -9422,7 +9425,8 @@ Example request: "enable_quick_ack": false, "enable_placement_id": 0, "enable_zerocopy_send_server": true, - "enable_zerocopy_send_client": false + "enable_zerocopy_send_client": false, + "zerocopy_threshold": 10240 } } ~~~