[PATCH rdma-core v1 0/6] Predictable RDMA Interface Names

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Leon Romanovsky <leonro@xxxxxxxxxxxx>

Changelog:
 v0->v1:
 * Added patch to bring latest rdma_netlink.h.
 * Squashed together patches with cmake function to create rename
   utility and utility patches.
 * Lowered number of udev rule to be consistent with other persistent
   naming rules.
 * changed vendor name with technology it is using. e.g. mlxp0s12f4 -> rocep0s12f4.
 * Changed default to be NETLINK_FALLBACK.
 * Excluded virtual devices from renaming policy.
 * Added documentation.

--------------------------------------------------------------------------

Hi,

This series introduces RDMA stable and predictable names in similar way
to netdev stack.

We generalize the naming scheme for RDMA devices, so users will always
see names based on topology/GUID information. Such naming scheme has
big advantage that the names are fully automatic, fully predictable
and they stay fixed even if hardware is added or removed (i.e. no
reenumeration takes place) and that broken hardware can be replaced
seamlessly.

Right now, we are supporting two schemes: based on PCI location and
based on system image GUID information.

[leonro@server ~]$ rdma dev
0: ibp0s12f0: node_type ca fw 16.22.1010 node_guid 248a:0703:00a5:2850 sys_image_guid 248a:0703:00a5:2850
1: ibp0s13f0: node_type ca fw 16.22.1010 node_guid 248a:0703:00a5:2851 sys_image_guid 248a:0703:00a5:2850

PR: https://github.com/linux-rdma/rdma-core/pull/487

Thanks

Leon Romanovsky (6):
  Update kernel headers
  kernel-boot: Perform device rename to make stable names
  debian: Install UDEV persistence rule and utility
  redhat: Add persistent naming installation
  suse: Package persistence name UDEV rule and utility
  docs: Document stable names

 Documentation/udev.md                    |  31 +++
 debian/rdma-core.install                 |   2 +
 kernel-boot/CMakeLists.txt               |  24 ++
 kernel-boot/rdma-persistent-naming.rules |  27 +++
 kernel-boot/rdma_rename.c                | 279 +++++++++++++++++++++++
 kernel-headers/rdma/rdma_netlink.h       |  20 +-
 providers/rxe/rxe_cfg.in                 |   1 +
 redhat/rdma-core.spec                    |   2 +
 suse/rdma-core.spec                      |   2 +
 9 files changed, 386 insertions(+), 2 deletions(-)
 create mode 100644 kernel-boot/rdma-persistent-naming.rules
 create mode 100644 kernel-boot/rdma_rename.c

--
2.19.1




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux