summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@nvidia.com>2026-03-19 17:22:21 +0200
committerLeon Romanovsky <leon@kernel.org>2026-03-30 13:47:44 -0400
commitdc76086a2d94d09aea9fd41a65ed56e0f7a6ec50 (patch)
treeab90a1d29e8154e7229d9259413d72b31d3821cf /tools/lib/python
parentce68351be075db89ff68de17e57dbe9b48374110 (diff)
RDMA: Properly propagate the number of CQEs as unsigned int
Instead of checking whether the number of CQEs is negative or zero, fix the .resize_user_cq() declaration to use unsigned int. This better reflects the expected value range. The sanity check is then handled correctly in ib_uvbers. Link: https://patch.msgid.link/20260319-resize_cq-cqe-v1-1-b78c6efc1def@nvidia.com Reviewed-by: Zhu Yanjun <yanjun.zhu@linux.dev> Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions