[PATCHv10 3/3] rdmacg: Added documentation for rdmacg

2016-03-24 Thread Parav Pandit
Added documentation for v1 and v2 version describing high level design and usage examples on using rdma controller. Signed-off-by: Parav Pandit --- Documentation/cgroup-v1/rdma.txt | 123 +++ Documentation/cgroup-v2.txt | 43 ++ 2 files chang

[PATCHv10 0/3] rdmacg: IB/core: rdma controller support

2016-03-24 Thread Parav Pandit
Patch is generated and tested against below Doug's linux-rdma git tree as it merges cleanly with both the git tree (linux-rdma and linux-cgroup). URL: git://git.kernel.org/pub/scm/linux/kernel/git/dledford/rdma.git Branch: k.o/for-4.6 Patch 1/3, 3/3 also compiles against Tejun's cgroup tree as we

[PATCHv10 2/3] IB/core: added support to use rdma cgroup controller

2016-03-24 Thread Parav Pandit
Added support APIs for IB core to register/unregister every IB/RDMA device with rdma cgroup for tracking verbs and hw resources. IB core registers with rdma cgroup controller and also defines resources that can be accounted. Added support APIs for uverbs layer to make use of rdma controller. Added

[PATCHv10 1/3] rdmacg: Added rdma cgroup controller

2016-03-24 Thread Parav Pandit
Added rdma cgroup controller that does accounting, limit enforcement on rdma/IB verbs and hw resources. Added rdma cgroup header file which defines its APIs to perform charing/uncharing functionality and device registration which will participate in controller functions of accounting and limit enf