mirror of
https://github.com/torvalds/linux.git
synced 2026-09-26 10:02:02 +02:00
Add core infrastructure for Completion Counters, a light-weight alternative to polling CQ for tracking operation completions. Define the UVERBS_OBJECT_COMP_CNTR ioctl object with create, destroy, modify and read methods for both success and error counters. Add a QP attach method on the QP object to associate a completion counter with a queue pair. Add ib_comp_cntr struct, ib_comp_cntr_attach_attr, device ops, and DECLARE_RDMA_OBJ_SIZE for driver object allocation. Only userspace Completion Counters are supported at this stage. Reviewed-by: Yonatan Nachum <ynachum@amazon.com> Signed-off-by: Michael Margolin <mrgolin@amazon.com> Link: https://patch.msgid.link/20260722083603.30334-2-mrgolin@amazon.com Signed-off-by: Leon Romanovsky <leon@kernel.org>
55 lines
1.7 KiB
Makefile
55 lines
1.7 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
infiniband-$(CONFIG_INFINIBAND_ADDR_TRANS) := rdma_cm.o
|
|
user_access-$(CONFIG_INFINIBAND_ADDR_TRANS) := rdma_ucm.o
|
|
|
|
obj-$(CONFIG_INFINIBAND) += ib_core.o ib_cm.o iw_cm.o \
|
|
$(infiniband-y)
|
|
obj-$(CONFIG_INFINIBAND_USER_MAD) += ib_umad.o
|
|
obj-$(CONFIG_INFINIBAND_USER_ACCESS) += ib_uverbs.o \
|
|
$(user_access-y) \
|
|
ib_uverbs_support.o
|
|
|
|
ib_core-y := packer.o ud_header.o verbs.o cq.o rw.o sysfs.o \
|
|
device.o cache.o netlink.o \
|
|
roce_gid_mgmt.o mr_pool.o addr.o sa_query.o \
|
|
multicast.o mad.o smi.o agent.o mad_rmpp.o \
|
|
nldev.o restrack.o counters.o \
|
|
trace.o lag.o iter.o frmr_pools.o
|
|
|
|
ib_core-$(CONFIG_SECURITY_INFINIBAND) += security.o
|
|
ib_core-$(CONFIG_CGROUP_RDMA) += cgroup.o
|
|
ib_core-$(CONFIG_INFINIBAND_USER_MEM) += umem.o umem_dmabuf.o
|
|
ib_core-$(CONFIG_INFINIBAND_ON_DEMAND_PAGING) += umem_odp.o
|
|
ib_core-$(CONFIG_INFINIBAND_USER_ACCESS_CORE) += ib_core_uverbs.o
|
|
|
|
ib_cm-y := cm.o cm_trace.o
|
|
|
|
iw_cm-y := iwcm.o iwpm_util.o iwpm_msg.o
|
|
|
|
CFLAGS_cma_trace.o += -I$(src)
|
|
rdma_cm-y := cma.o cma_trace.o
|
|
|
|
rdma_cm-$(CONFIG_INFINIBAND_ADDR_TRANS_CONFIGFS) += cma_configfs.o
|
|
|
|
rdma_ucm-y := ucma.o
|
|
|
|
ib_umad-y := user_mad.o
|
|
|
|
ib_uverbs-y := uverbs_main.o uverbs_cmd.o uverbs_marshall.o \
|
|
uverbs_std_types.o uverbs_ioctl.o \
|
|
uverbs_std_types_cq.o \
|
|
uverbs_std_types_comp_cntr.o \
|
|
uverbs_std_types_dmabuf.o \
|
|
uverbs_std_types_dmah.o \
|
|
uverbs_std_types_flow_action.o uverbs_std_types_dm.o \
|
|
uverbs_std_types_mr.o uverbs_std_types_counters.o \
|
|
uverbs_uapi.o uverbs_std_types_device.o \
|
|
uverbs_std_types_async_fd.o \
|
|
uverbs_std_types_srq.o \
|
|
uverbs_std_types_wq.o \
|
|
uverbs_std_types_qp.o
|
|
|
|
ib_uverbs_support-y := rdma_core.o \
|
|
ucaps.o \
|
|
uverbs_flow.o
|