linux/drivers/infiniband/ulp
Bart Van Assche e99ca1ee07 IB/srp: Fix completion vector assignment algorithm
commit 3a148896b2 upstream.

Ensure that cv_end is equal to ibdev->num_comp_vectors for the
NUMA node with the highest index. This patch improves spreading
of RDMA channels over completion vectors and thereby improves
performance, especially on systems with only a single NUMA node.
This patch drops support for the comp_vector login parameter by
ignoring the value of that parameter since I have not found a
good way to combine support for that parameter and automatic
spreading of RDMA channels over completion vectors.

Fixes: d92c0da71a ("IB/srp: Add multichannel support")
Reported-by: Alexander Schmid <alex@modula-shop-systems.de>
Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Cc: Alexander Schmid <alex@modula-shop-systems.de>
Cc: stable@vger.kernel.org
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2018-04-24 09:36:32 +02:00
..
ipoib IB/ipoib: Avoid memory leak if the SA returns a different DGID 2018-03-24 11:01:25 +01:00
iser IB: Correct MR length field to be 64-bit 2017-09-25 11:47:23 -04:00
isert iser-target: avoid reinitializing rdma contexts for isert commands 2018-03-24 11:01:25 +01:00
opa_vnic IB/opa_vnic: Properly return the total MACs in UC MAC list 2017-12-25 14:26:30 +01:00
srp IB/srp: Fix completion vector assignment algorithm 2018-04-24 09:36:32 +02:00
srpt IB/srpt: Fix ACL lookup during login 2018-01-17 09:45:17 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00