Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

RDMA/core: Remove unused ib_resize_cq() implementation

There are no in-kernel users of the CQ resize functionality, so drop it.

Link: https://patch.msgid.link/20260318-resize_cq-type-v1-1-b2846ed18846@nvidia.com
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>

authored by

Leon Romanovsky and committed by
Leon Romanovsky
6c45efd8 e01027ca

-19
-10
drivers/infiniband/core/verbs.c
··· 2264 2264 } 2265 2265 EXPORT_SYMBOL(ib_destroy_cq_user); 2266 2266 2267 - int ib_resize_cq(struct ib_cq *cq, int cqe) 2268 - { 2269 - if (cq->shared) 2270 - return -EOPNOTSUPP; 2271 - 2272 - return cq->device->ops.resize_cq ? 2273 - cq->device->ops.resize_cq(cq, cqe, NULL) : -EOPNOTSUPP; 2274 - } 2275 - EXPORT_SYMBOL(ib_resize_cq); 2276 - 2277 2267 /* Memory regions */ 2278 2268 2279 2269 struct ib_mr *ib_reg_user_mr(struct ib_pd *pd, u64 start, u64 length,
-9
include/rdma/ib_verbs.h
··· 4104 4104 __ib_create_cq((device), (cmp_hndlr), (evt_hndlr), (cq_ctxt), (cq_attr), KBUILD_MODNAME) 4105 4105 4106 4106 /** 4107 - * ib_resize_cq - Modifies the capacity of the CQ. 4108 - * @cq: The CQ to resize. 4109 - * @cqe: The minimum size of the CQ. 4110 - * 4111 - * Users can examine the cq structure to determine the actual CQ size. 4112 - */ 4113 - int ib_resize_cq(struct ib_cq *cq, int cqe); 4114 - 4115 - /** 4116 4107 * rdma_set_cq_moderation - Modifies moderation params of the CQ 4117 4108 * @cq: The CQ to modify. 4118 4109 * @cq_count: number of CQEs that will trigger an event