IB/srp: Allow cmd_per_lun to be set per target port
authorVu Pham <vu@mellanox.com>
Sun, 18 Jun 2006 03:37:31 +0000 (20:37 -0700)
committerRoland Dreier <rolandd@cisco.com>
Sun, 18 Jun 2006 03:37:31 +0000 (20:37 -0700)
commit52fb2b50c4baa1430064c1e6c1c7df473d469df1
tree7d538c270d6b9064b5674a8fd6f7cf81d8b8580f
parent0c5b395239cdea4db3d9c23a5738fdaf3b9ada4c
IB/srp: Allow cmd_per_lun to be set per target port

Allow userspace to throttle traffic on a given connection to a target
port by adding "max_cmd_per_lun=xyz" to lower the cmd_per_lun value
set for that scsi_host.

Signed-off-by: Vu Pham <vu@mellanox.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/ulp/srp/ib_srp.c