Commit a4cb5bdb authored by Nicolas Morey-Chaisemartin's avatar Nicolas Morey-Chaisemartin Committed by Anna Schumaker
Browse files

xprtrdma: Make sure Send CQ is allocated on an existing compvec

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

Fixes: a4699f56

 (xprtrdma: Put Send CQ in IB_POLL_WORKQUEUE mode)
Signed-off-by: default avatarNicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com>
Reviewed-by: default avatarChuck Lever <chuck.lever@oracle.com>
Signed-off-by: default avatarAnna Schumaker <Anna.Schumaker@Netapp.com>
parent 8fc75bed
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment