summaryrefslogtreecommitdiff
path: root/ipc
diff options
context:
space:
mode:
authorGuoqing Jiang <guoqing.jiang@linux.dev>2023-11-13 19:57:24 +0800
committerLeon Romanovsky <leon@kernel.org>2023-11-15 15:58:14 +0200
commit788bbf4c2fc6e0c35bae9ed5068f484272539d3e (patch)
tree955cba90000ac34cbcc1e4dfaeb2b4dd1f17cbc0 /ipc
parent3beced14d1998c8e0c5d3d78b2dd86255365e705 (diff)
RDMA/siw: Only check attrs->cap.max_send_wr in siw_create_qp
We can just check max_send_wr here given both max_send_wr and max_recv_wr are defined as u32 type, and we also need to ensure num_sqe (derived from max_send_wr) shouldn't be zero. Acked-by: Bernard Metzler <bmt@zurich.ibm.com> Signed-off-by: Guoqing Jiang <guoqing.jiang@linux.dev> Link: https://lore.kernel.org/r/20231113115726.12762-16-guoqing.jiang@linux.dev Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions