]> www.infradead.org Git - users/hch/blktests.git/commitdiff
tests/srp/rc: Increase maximum request size
authorBart Van Assche <bvanassche@acm.org>
Wed, 2 Jan 2019 03:14:37 +0000 (19:14 -0800)
committerBart Van Assche <bvanassche@acm.org>
Mon, 11 Feb 2019 18:08:14 +0000 (10:08 -0800)
A new feature for the SRP initiator and target drivers in kernel v5.0-rc1
is that both the initiator and target drivers support immediate data.
Since the default maximum immediate data size is 8 KB, increase the target
maximum request size such that the SRP initiator can send write requests
with up to 8 KB of immediate data.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
tests/srp/rc

index c4abad3ba3fd19c93fb231035698f8242cd23303..feb9e7b1a2674075e9016db25acf1e766d37bb5f 100755 (executable)
@@ -483,7 +483,7 @@ start_lio_srpt() {
        mount_configfs || return $?
        modprobe target_core_mod || return $?
        modprobe target_core_iblock || return $?
-       opts=("srp_max_req_size=4200" "dyndbg=+pmf")
+       opts=("srp_max_req_size=8260" "dyndbg=+pmf")
        if modinfo ib_srpt | grep -q '^parm:[[:blank:]]*rdma_cm_port:'; then
                opts+=("rdma_cm_port=${srp_rdma_cm_port}")
        fi