|
Honggang Li |
55352c |
From d9a376151c8a0d30ea814704e844f3aa3359d984 Mon Sep 17 00:00:00 2001
|
|
Honggang Li |
55352c |
From: "Goldman, Adam" <adam.goldman@intel.com>
|
|
Honggang Li |
55352c |
Date: Tue, 4 Feb 2020 08:55:20 -0500
|
|
Honggang Li |
55352c |
Subject: [PATCH] kernel-boot: Do not perform device rename on OPA devices
|
|
Honggang Li |
55352c |
|
|
Honggang Li |
55352c |
PSM2 will not run with recent rdma-core releases. Several tools and
|
|
Honggang Li |
55352c |
libraries like PSM2, require the hfi1 name to be present.
|
|
Honggang Li |
55352c |
|
|
Honggang Li |
55352c |
Recent rdma-core releases added a new feature to rename kernel devices,
|
|
Honggang Li |
55352c |
but the default configuration will not work with hfi1 fabrics.
|
|
Honggang Li |
55352c |
|
|
Honggang Li |
55352c |
Related opa-psm2 github issue:
|
|
Honggang Li |
55352c |
https://github.com/intel/opa-psm2/issues/43
|
|
Honggang Li |
55352c |
|
|
Honggang Li |
55352c |
Fixes: 5b4099d47be3 ("kernel-boot: Perform device rename to make stable names")
|
|
Honggang Li |
55352c |
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
|
|
Honggang Li |
55352c |
Signed-off-by: Goldman, Adam <adam.goldman@intel.com>
|
|
Honggang Li |
55352c |
---
|
|
Honggang Li |
55352c |
kernel-boot/rdma-persistent-naming.rules | 2 +-
|
|
Honggang Li |
55352c |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
Honggang Li |
55352c |
|
|
Honggang Li |
55352c |
diff --git a/kernel-boot/rdma-persistent-naming.rules b/kernel-boot/rdma-persistent-naming.rules
|
|
Honggang Li |
55352c |
index 9b61e1630d56..95d6851fb97a 100644
|
|
Honggang Li |
55352c |
--- a/kernel-boot/rdma-persistent-naming.rules
|
|
Honggang Li |
55352c |
+++ b/kernel-boot/rdma-persistent-naming.rules
|
|
Honggang Li |
55352c |
@@ -25,4 +25,4 @@
|
|
Honggang Li |
55352c |
# Device type = RoCE
|
|
Honggang Li |
55352c |
# mlx5_0 -> rocex525400c0fe123455
|
|
Honggang Li |
55352c |
#
|
|
Honggang Li |
55352c |
-ACTION=="add", SUBSYSTEM=="infiniband", PROGRAM="rdma_rename %k NAME_FALLBACK"
|
|
Honggang Li |
55352c |
+ACTION=="add", SUBSYSTEM=="infiniband", KERNEL!="hfi1*", PROGRAM="rdma_rename %k NAME_FALLBACK"
|
|
Honggang Li |
55352c |
--
|
|
Honggang Li |
55352c |
2.24.1
|
|
Honggang Li |
55352c |
|