2021-11-09 10:08:32 +00:00
|
|
|
From 538cd05b34bf15076ce40273926d7580d421a670 Mon Sep 17 00:00:00 2001
|
2020-04-28 09:35:35 +00:00
|
|
|
From: Jarod Wilson <jarod@redhat.com>
|
|
|
|
Date: Wed, 21 Aug 2019 17:09:13 -0400
|
2021-11-09 10:08:32 +00:00
|
|
|
Subject: [PATCH] udev: keep NAME_KERNEL as default interface naming convention
|
2020-04-28 09:35:35 +00:00
|
|
|
|
|
|
|
Signed-off-by: Jarod Wilson <jarod@redhat.com>
|
|
|
|
---
|
2021-11-09 10:08:32 +00:00
|
|
|
kernel-boot/rdma-persistent-naming.rules | 4 ++--
|
|
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
2020-04-28 09:35:35 +00:00
|
|
|
|
|
|
|
diff --git a/kernel-boot/rdma-persistent-naming.rules b/kernel-boot/rdma-persistent-naming.rules
|
2021-11-09 10:08:32 +00:00
|
|
|
index 6f9c53a5..b5413edb 100644
|
2020-04-28 09:35:35 +00:00
|
|
|
--- a/kernel-boot/rdma-persistent-naming.rules
|
|
|
|
+++ b/kernel-boot/rdma-persistent-naming.rules
|
2021-11-09 10:08:32 +00:00
|
|
|
@@ -26,10 +26,10 @@
|
2020-04-28 09:35:35 +00:00
|
|
|
# Device type = RoCE
|
|
|
|
# mlx5_0 -> rocex525400c0fe123455
|
|
|
|
#
|
|
|
|
-ACTION=="add", SUBSYSTEM=="infiniband", PROGRAM="rdma_rename %k NAME_FALLBACK"
|
|
|
|
+ACTION=="add", SUBSYSTEM=="infiniband", PROGRAM="rdma_rename %k NAME_KERNEL"
|
2021-11-09 10:08:32 +00:00
|
|
|
|
|
|
|
# Example:
|
|
|
|
# * NAME_FIXED
|
|
|
|
# fixed name for specific board_id
|
|
|
|
#
|
|
|
|
-#ACTION=="add", ATTR{board_id}=="MSF0010110035", SUBSYSTEM=="infiniband", PROGRAM="rdma_rename %k NAME_FIXED myib"
|
|
|
|
\ No newline at end of file
|
|
|
|
+#ACTION=="add", ATTR{board_id}=="MSF0010110035", SUBSYSTEM=="infiniband", PROGRAM="rdma_rename %k NAME_FIXED myib"
|
2020-04-28 09:35:35 +00:00
|
|
|
--
|
2021-11-09 10:08:32 +00:00
|
|
|
2.30.1
|
2020-04-28 09:35:35 +00:00
|
|
|
|