Commit 3a82f5fa authored by Richael Zhuang's avatar Richael Zhuang Committed by Tomasz Zawadzki
Browse files

doc: update sock documentation



add zerocopy_threshold related information in jsonrpc.md

Change-Id: I9fbea29f39c532af41b33da81420c0c6d3200031
Signed-off-by: default avatarRichael 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: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: default avatarAleksey Marchuk <alexeymar@nvidia.com>
Reviewed-by: default avatarPaul Luse <paul.e.luse@intel.com>
Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
parent a6b0cd0c
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -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
  }
}
~~~