]> git.proxmox.com Git - mirror_iproute2.git/commit
rdma: Add an option to rename IB device interface
authorLeon Romanovsky <leonro@mellanox.com>
Wed, 31 Oct 2018 07:17:57 +0000 (09:17 +0200)
committerDavid Ahern <dsahern@gmail.com>
Fri, 2 Nov 2018 16:38:56 +0000 (09:38 -0700)
commit4443c9c6a01eac8c8f2743d4d185ceb9be4d1207
tree4c4b5b4c317dc889c27c3960880eabe20cb74f01
parenta14ceed32524c7f9c05572886cd63e921e4c0faf
rdma: Add an option to rename IB device interface

Enrich rdmatool with an option to rename IB devices,
the command interface follows Iproute2 convention:
"rdma dev set [OLD-DEVNAME] name NEW-DEVNAME"

Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: David Ahern <dsahern@gmail.com>
rdma/dev.c