• M
    nvme-rdma: assign completion vector correctly · 032a9966
    Max Gurtovoy 提交于
    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: NMax Gurtovoy <maxg@mellanox.com>
    Signed-off-by: NChristoph Hellwig <hch@lst.de>
    032a9966
rdma.c 62.6 KB