]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/nldev: Allow IB device rename through RDMA netlink
authorLeon Romanovsky <leonro@mellanox.com>
Wed, 10 Oct 2018 06:19:12 +0000 (09:19 +0300)
committerDoug Ledford <dledford@redhat.com>
Tue, 16 Oct 2018 17:37:16 +0000 (13:37 -0400)
commita0f06bcb8b899570b648a89e43ac35b8b233a435
treea5f59798685b7383ea7222694d40f7956fa149f0
parent95cc73713fc9901593bec6be477e9cf6760f7780
RDMA/nldev: Allow IB device rename through RDMA netlink

Provide an option to rename IB device name through RDMA netlink and
limit it to users with ADMIN capability only.

Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/nldev.c
include/uapi/rdma/rdma_netlink.h