summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@wdc.com>2018-02-12 09:50:25 -0800
committerJason Gunthorpe <jgg@mellanox.com>2018-02-15 15:38:58 -0700
commit3a148896b24adf8688dc0c59af54531931677a40 (patch)
tree43068fa2e2e23a460da296db46fb20265e554734 /include
parent71591d1280e5ef02c2af2ffb9801d0c842973be9 (diff)
downloadlwn-3a148896b24adf8688dc0c59af54531931677a40.tar.gz
lwn-3a148896b24adf8688dc0c59af54531931677a40.zip
IB/srp: Fix completion vector assignment algorithm
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: d92c0da71a35 ("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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions