]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9236d8019111f2717414ada41d661577a7453e9e
treecdca03a8d34e6c190b021a54c98925eaf1330c7c
parent1d6bc48064eb454858027b58955f44d18242fb44
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