path: root/drivers/infiniband/core/Makefile
diff options
authorParav Pandit <pandit.parav@gmail.com>2017-01-10 00:02:14 +0000
committerTejun Heo <tj@kernel.org>2017-01-10 11:14:27 -0500
commit43579b5f2c79d747d8294bd233db41c954e2dc4a (patch)
treed9934831b4c832cf0c2c10606276940ff5e3a7d4 /drivers/infiniband/core/Makefile
parentrdmacg: Added rdma cgroup controller (diff)
IB/core: added support to use rdma cgroup controller
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>
Diffstat (limited to 'drivers/infiniband/core/Makefile')
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/core/Makefile b/drivers/infiniband/core/Makefile
index edaae9f9853c..e426ac877d19 100644
--- a/drivers/infiniband/core/Makefile
+++ b/drivers/infiniband/core/Makefile
@@ -13,6 +13,7 @@ ib_core-y := packer.o ud_header.o verbs.o cq.o rw.o sysfs.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