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