linux-stable/net/sunrpc/xprtrdma
Nicolas Morey-Chaisemartin d84bc704b9 xprtrdma: Make sure Send CQ is allocated on an existing compvec
[ Upstream commit a4cb5bdb75 ]

Make sure the device has at least 2 completion vectors
before allocating to compvec#1

Fixes: a4699f5647 (xprtrdma: Put Send CQ in IB_POLL_WORKQUEUE mode)
Signed-off-by: Nicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com>
Reviewed-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-03-23 20:09:45 +01:00
..
backchannel.c NFS client updates for Linux 4.18 2018-06-12 10:09:03 -07:00
fmr_ops.c net/xprtrdma: Simplify ib_post_(send|recv|srq_recv)() calls 2018-07-24 16:06:37 -06:00
frwr_ops.c RDMA, core and ULPs: Declare ib_post_send() and ib_post_recv() arguments const 2018-07-30 20:09:34 -06:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
module.c NFS client updates for Linux 4.18 2018-06-12 10:09:03 -07:00
rpc_rdma.c NFS client updates for Linux 4.18 2018-06-12 10:09:03 -07:00
svc_rdma.c sunrpc: remove redundant variables 'checksumlen','blocksize' and 'data' 2018-08-09 16:11:21 -04:00
svc_rdma_backchannel.c xprtrdma: Reset credit grant properly after a disconnect 2018-11-13 11:08:34 -08:00
svc_rdma_recvfrom.c A mistake on my part caused me to tag my branch 6 commits too early, 2018-08-23 16:00:10 -07:00
svc_rdma_rw.c A mistake on my part caused me to tag my branch 6 commits too early, 2018-08-23 16:00:10 -07:00
svc_rdma_sendto.c svcrdma: Remove max_sge check at connect time 2019-02-15 08:10:13 +01:00
svc_rdma_transport.c svcrdma: Remove max_sge check at connect time 2019-02-15 08:10:13 +01:00
transport.c xprtrdma: Reset credit grant properly after a disconnect 2018-11-13 11:08:34 -08:00
verbs.c xprtrdma: Make sure Send CQ is allocated on an existing compvec 2019-03-23 20:09:45 +01:00
xprt_rdma.h NFS client updates for Linux 4.18 2018-06-12 10:09:03 -07:00