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