diff options
author | Leon Romanovsky <leonro@mellanox.com> | 2018-10-10 09:19:11 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2018-10-16 13:37:16 -0400 |
commit | d21943dd19b5c79dc09bb0e8bf80cd5ee09c41c2 (patch) | |
tree | 823d6d10d3ef9752a41199f81762d789960b14f1 /drivers/infiniband/core/core_priv.h | |
parent | RDMA/core: Annotate timeout as unsigned long (diff) | |
download | linux-dev-d21943dd19b5c79dc09bb0e8bf80cd5ee09c41c2.tar.xz linux-dev-d21943dd19b5c79dc09bb0e8bf80cd5ee09c41c2.zip |
RDMA/core: Implement IB device rename function
Generic implementation of IB device rename function.
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/core/core_priv.h')
-rw-r--r-- | drivers/infiniband/core/core_priv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/core/core_priv.h b/drivers/infiniband/core/core_priv.h index d7399d5b1cb6..c5881756b799 100644 --- a/drivers/infiniband/core/core_priv.h +++ b/drivers/infiniband/core/core_priv.h @@ -87,6 +87,7 @@ int ib_device_register_sysfs(struct ib_device *device, int (*port_callback)(struct ib_device *, u8, struct kobject *)); void ib_device_unregister_sysfs(struct ib_device *device); +int ib_device_rename(struct ib_device *ibdev, const char *name); typedef void (*roce_netdev_callback)(struct ib_device *device, u8 port, struct net_device *idev, void *cookie); |