aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/ulp/srp/ib_srp.h
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@wdc.com>2018-01-22 14:27:13 -0800
committerDoug Ledford <dledford@redhat.com>2018-01-23 11:35:05 -0500
commitb0780ee56ee264cfdfee46023e02386282041aad (patch)
treeb54dcc4252adad17dba503218f7d0d7dfa1e4e6f /drivers/infiniband/ulp/srp/ib_srp.h
parentIB/srp: Add RDMA/CM support (diff)
downloadlinux-dev-b0780ee56ee264cfdfee46023e02386282041aad.tar.xz
linux-dev-b0780ee56ee264cfdfee46023e02386282041aad.zip
IB/srp: Add target_can_queue login parameter
Although I'm not sure this parameter is useful for regular SRP users, setting this parameter to 1 has shown to be invaluable for testing the block layer core, SCSI core and device mapper queue running mechanisms. Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to '')
-rw-r--r--drivers/infiniband/ulp/srp/ib_srp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/ulp/srp/ib_srp.h b/drivers/infiniband/ulp/srp/ib_srp.h
index 911fc1582f61..a2706086b9c7 100644
--- a/drivers/infiniband/ulp/srp/ib_srp.h
+++ b/drivers/infiniband/ulp/srp/ib_srp.h
@@ -211,6 +211,7 @@ struct srp_target_port {
char target_name[32];
unsigned int scsi_id;
unsigned int sg_tablesize;
+ unsigned int target_can_queue;
int mr_pool_size;
int mr_per_cmd;
int queue_size;