]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/nldev: Allow counter manual mode configration through RDMA netlink
authorMark Zhang <markz@mellanox.com>
Tue, 2 Jul 2019 10:02:44 +0000 (13:02 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Fri, 5 Jul 2019 13:22:55 +0000 (10:22 -0300)
commit141a164d7363ab41c96089189f49792d6e3ce5ce
treecbfc3204639306a6a2db3636665d80649f283105
parent7447cf4ff18594377affa05c536b013efedc1f5f
RDMA/nldev: Allow counter manual mode configration through RDMA netlink

Provide an option to allow users to manually bind a qp with a counter
through RDMA netlink. Limit it to users with ADMIN capability only.

Signed-off-by: Mark Zhang <markz@mellanox.com>
Reviewed-by: Majd Dibbiny <majd@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/nldev.c
include/rdma/rdma_counter.h
include/uapi/rdma/rdma_netlink.h