diff options
author | Nicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com> | 2019-02-05 20:21:02 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-03-23 22:09:45 +0300 |
commit | d84bc704b91ed915677d5506ba32514f2b62f09c (patch) | |
tree | e7e44123956879fedfa040da4e042ec952499983 /net/sunrpc/rpcb_clnt.c | |
parent | e01f2b0821ea9b68a485fdb94f3e86e6a40f913c (diff) | |
download | linux-d84bc704b91ed915677d5506ba32514f2b62f09c.tar.xz |
xprtrdma: Make sure Send CQ is allocated on an existing compvec
[ Upstream commit a4cb5bdb754afe21f3e9e7164213e8600cf69427 ]
Make sure the device has at least 2 completion vectors
before allocating to compvec#1
Fixes: a4699f5647f3 (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>
Diffstat (limited to 'net/sunrpc/rpcb_clnt.c')
0 files changed, 0 insertions, 0 deletions