doc: update sock documentation
add zerocopy_threshold related information in jsonrpc.md Change-Id: I9fbea29f39c532af41b33da81420c0c6d3200031 Signed-off-by: Richael Zhuang <richael.zhuang@arm.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12585 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
parent
a6b0cd0c05
commit
3a82f5fa22
@ -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
|
||||
}
|
||||
}
|
||||
~~~
|
||||
|
Loading…
Reference in New Issue
Block a user