aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2013-06-28 08:57:42 -0400
committerRoland Dreier <roland@purestorage.com>2013-07-01 13:40:55 -0400
commit4b5e5f41c8e114bb856347134657eb9e1cccc822 (patch)
treecdca03a8d34e6c190b021a54c98925eaf1330c7c /Documentation
parent96fc248a4c6fe1e5ffac4903b39d2dd5cbe2dc9a (diff)
IB/srp: Make HCA completion vector configurable
Several InfiniBand HCAs allow configuring the completion vector per CQ. This allows spreading the workload created by IB completion interrupts over multiple MSI-X vectors and hence over multiple CPU cores. In other words, configuring the completion vector properly not only allows reducing latency on an initiator connected to multiple SRP targets but also allows improving throughput. Signed-off-by: Bart Van Assche <bvanassche@acm.org> Acked-by: David Dillow <dillowda@ornl.gov> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/ABI/stable/sysfs-driver-ib_srp7
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/ABI/stable/sysfs-driver-ib_srp b/Documentation/ABI/stable/sysfs-driver-ib_srp
index 481aae95c7d1..5c53d28f775c 100644
--- a/Documentation/ABI/stable/sysfs-driver-ib_srp
+++ b/Documentation/ABI/stable/sysfs-driver-ib_srp
@@ -54,6 +54,13 @@ Description: Interface for making ib_srp connect to a new target.
54 ib_srp. Specifying a value that exceeds cmd_sg_entries is 54 ib_srp. Specifying a value that exceeds cmd_sg_entries is
55 only safe with partial memory descriptor list support enabled 55 only safe with partial memory descriptor list support enabled
56 (allow_ext_sg=1). 56 (allow_ext_sg=1).
57 * comp_vector, a number in the range 0..n-1 specifying the
58 MSI-X completion vector. Some HCA's allocate multiple (n)
59 MSI-X vectors per HCA port. If the IRQ affinity masks of
60 these interrupts have been configured such that each MSI-X
61 interrupt is handled by a different CPU then the comp_vector
62 parameter can be used to spread the SRP completion workload
63 over multiple CPU's.
57 64
58What: /sys/class/infiniband_srp/srp-<hca>-<port_number>/ibdev 65What: /sys/class/infiniband_srp/srp-<hca>-<port_number>/ibdev
59Date: January 2, 2006 66Date: January 2, 2006