diff options
author | Max Gurtovoy <maxg@mellanox.com> | 2020-06-23 17:55:25 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-07-22 10:22:16 +0300 |
commit | c8b306dcc57625e7bcb310fc25e2a125356ec60f (patch) | |
tree | c6225656c45f2a20cd10e10dd44f4f71812fe0f5 /arch | |
parent | ba1a0389b09085830138a88b829009aab366897f (diff) | |
download | linux-c8b306dcc57625e7bcb310fc25e2a125356ec60f.tar.xz |
nvme-rdma: assign completion vector correctly
[ Upstream commit 032a9966a22a3596addf81dacf0c1736dfedc32a ]
The completion vector index that is given during CQ creation can't
exceed the number of support vectors by the underlying RDMA device. This
violation currently can accure, for example, in case one will try to
connect with N regular read/write queues and M poll queues and the sum
of N + M > num_supported_vectors. This will lead to failure in establish
a connection to remote target. Instead, in that case, share a completion
vector between queues.
Signed-off-by: Max Gurtovoy <maxg@mellanox.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions