• Parav Pandit's avatar
    IB/core: added support to use rdma cgroup controller · 43579b5f
    Parav Pandit authored
    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: default avatarParav Pandit <pandit.parav@gmail.com>
    Signed-off-by: default avatarTejun Heo <tj@kernel.org>
    43579b5f
cgroup.c 1.97 KB