Blame udev-keep-NAME_KERNEL-as-default-interface-naming-co.patch

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