|
|
6b6c31 |
From f68729e3c133bddf6fb175a38e128bb2ed338e7a Mon Sep 17 00:00:00 2001
|
|
|
6b6c31 |
From: Jarod Wilson <jarod@redhat.com>
|
|
|
6b6c31 |
Date: Tue, 5 Jun 2018 10:41:42 -0400
|
|
|
6b6c31 |
Subject: [PATCH rdma-core 15/29] rdma-hw-modules.rules: i40iw autoload breaks
|
|
|
6b6c31 |
suspend
|
|
|
6b6c31 |
|
|
|
6b6c31 |
Signed-off-by: Jarod Wilson <jarod@redhat.com>
|
|
|
6b6c31 |
---
|
|
|
6b6c31 |
kernel-boot/rdma-hw-modules.rules | 6 +++++-
|
|
|
6b6c31 |
1 file changed, 5 insertions(+), 1 deletion(-)
|
|
|
6b6c31 |
|
|
|
6b6c31 |
diff --git a/kernel-boot/rdma-hw-modules.rules b/kernel-boot/rdma-hw-modules.rules
|
|
|
6b6c31 |
index dde0ab8d..64b9e115 100644
|
|
|
6b6c31 |
--- a/kernel-boot/rdma-hw-modules.rules
|
|
|
6b6c31 |
+++ b/kernel-boot/rdma-hw-modules.rules
|
|
|
6b6c31 |
@@ -11,7 +11,11 @@ ENV{ID_NET_DRIVER}=="bnxt_en", RUN{builtin}+="kmod load bnxt_re"
|
|
|
6b6c31 |
ENV{ID_NET_DRIVER}=="cxgb3", RUN{builtin}+="kmod load iw_cxgb3"
|
|
|
6b6c31 |
ENV{ID_NET_DRIVER}=="cxgb4", RUN{builtin}+="kmod load iw_cxgb4"
|
|
|
6b6c31 |
ENV{ID_NET_DRIVER}=="hns", RUN{builtin}+="kmod load hns_roce"
|
|
|
6b6c31 |
-ENV{ID_NET_DRIVER}=="i40e", RUN{builtin}+="kmod load i40iw"
|
|
|
6b6c31 |
+# i40iw is not entirely suspend/resume friendly, and many systems with
|
|
|
6b6c31 |
+# i40e NICs aren't iwarp-capable, so Red Hat defaults to not auto-loading
|
|
|
6b6c31 |
+# the i40iw driver here to keep suspend/resume working. The i40iw driver
|
|
|
6b6c31 |
+# can still be loaded as needed by the rdma systemd service script.
|
|
|
6b6c31 |
+# ENV{ID_NET_DRIVER}=="i40e", RUN{builtin}+="kmod load i40iw"
|
|
|
6b6c31 |
ENV{ID_NET_DRIVER}=="mlx4_en", RUN{builtin}+="kmod load mlx4_ib"
|
|
|
6b6c31 |
ENV{ID_NET_DRIVER}=="mlx5_core", RUN{builtin}+="kmod load mlx5_ib"
|
|
|
6b6c31 |
ENV{ID_NET_DRIVER}=="qede", RUN{builtin}+="kmod load qedr"
|
|
|
6b6c31 |
--
|
|
|
6b6c31 |
2.16.1
|
|
|
6b6c31 |
|