linux-stable/drivers/nvme
Max Gurtovoy c8b306dcc5 nvme-rdma: assign completion vector correctly
[ Upstream commit 032a9966a2 ]

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>
2020-07-22 09:22:16 +02:00
..
host nvme-rdma: assign completion vector correctly 2020-07-22 09:22:16 +02:00
target nvme-fc: Revert "add module to ops template to allow module references" 2020-04-24 08:00:36 +02:00
Kconfig
Makefile