forked from Minki/linux
43579b5f2c
Added support APIs for IB core to register/unregister every IB/RDMA device with rdma cgroup for tracking rdma resources. IB core registers with rdma cgroup controller. Added support APIs for uverbs layer to make use of rdma controller. Added uverbs layer to perform resource charge/uncharge functionality. Added support during query_device uverb operation to ensure it returns resource limits by honoring rdma cgroup configured limits. Signed-off-by: Parav Pandit <pandit.parav@gmail.com> Signed-off-by: Tejun Heo <tj@kernel.org>
33 lines
983 B
Makefile
33 lines
983 B
Makefile
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 ib_ucm.o \
|
|
$(user_access-y)
|
|
|
|
ib_core-y := packer.o ud_header.o verbs.o cq.o rw.o sysfs.o \
|
|
device.o fmr_pool.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
|
|
ib_core-$(CONFIG_INFINIBAND_USER_MEM) += umem.o
|
|
ib_core-$(CONFIG_INFINIBAND_ON_DEMAND_PAGING) += umem_odp.o umem_rbtree.o
|
|
ib_core-$(CONFIG_CGROUP_RDMA) += cgroup.o
|
|
|
|
ib_cm-y := cm.o
|
|
|
|
iw_cm-y := iwcm.o iwpm_util.o iwpm_msg.o
|
|
|
|
rdma_cm-y := cma.o
|
|
|
|
rdma_cm-$(CONFIG_INFINIBAND_ADDR_TRANS_CONFIGFS) += cma_configfs.o
|
|
|
|
rdma_ucm-y := ucma.o
|
|
|
|
ib_umad-y := user_mad.o
|
|
|
|
ib_ucm-y := ucm.o
|
|
|
|
ib_uverbs-y := uverbs_main.o uverbs_cmd.o uverbs_marshall.o
|