diff options
author | Bart Van Assche <bvanassche@acm.org> | 2013-06-28 14:57:42 +0200 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2013-07-01 10:40:55 -0700 |
commit | 4b5e5f41c8e114bb856347134657eb9e1cccc822 (patch) | |
tree | cdca03a8d34e6c190b021a54c98925eaf1330c7c /drivers/infiniband/ulp/srp/ib_srp.h | |
parent | 96fc248a4c6fe1e5ffac4903b39d2dd5cbe2dc9a (diff) | |
download | linux-stable-4b5e5f41c8e114bb856347134657eb9e1cccc822.tar.gz linux-stable-4b5e5f41c8e114bb856347134657eb9e1cccc822.tar.bz2 linux-stable-4b5e5f41c8e114bb856347134657eb9e1cccc822.zip |
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 'drivers/infiniband/ulp/srp/ib_srp.h')
-rw-r--r-- | drivers/infiniband/ulp/srp/ib_srp.h | 1 |
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 66fbedda4571..e641088c14dc 100644 --- a/drivers/infiniband/ulp/srp/ib_srp.h +++ b/drivers/infiniband/ulp/srp/ib_srp.h @@ -156,6 +156,7 @@ struct srp_target_port { char target_name[32]; unsigned int scsi_id; unsigned int sg_tablesize; + int comp_vector; struct ib_sa_path_rec path; __be16 orig_dgid[8]; |