IB/srp: Make HCA completion vector configurable
authorBart Van Assche <bvanassche@acm.org>
Fri, 28 Jun 2013 12:57:42 +0000 (14:57 +0200)
committerRoland Dreier <roland@purestorage.com>
Mon, 1 Jul 2013 17:40:55 +0000 (10:40 -0700)
commit4b5e5f41c8e114bb856347134657eb9e1cccc822
treecdca03a8d34e6c190b021a54c98925eaf1330c7c
parent96fc248a4c6fe1e5ffac4903b39d2dd5cbe2dc9a
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>
Documentation/ABI/stable/sysfs-driver-ib_srp
drivers/infiniband/ulp/srp/ib_srp.c
drivers/infiniband/ulp/srp/ib_srp.h