OSDN Git Service

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)
commit05d940d3a3ec4e6d5d6a726aae4d73c5c64603c6
treea5f59798685b7383ea7222694d40f7956fa149f0
parentd21943dd19b5c79dc09bb0e8bf80cd5ee09c41c2
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