2020-11-03 11:49:15 +00:00
|
|
|
diff --git a/kernel-boot/rdma-hw-modules.rules b/kernel-boot/rdma-hw-modules.rules
|
|
|
|
index bee416dbe719..97faa07b3340 100644
|
|
|
|
--- a/kernel-boot/rdma-hw-modules.rules
|
|
|
|
+++ b/kernel-boot/rdma-hw-modules.rules
|
|
|
|
@@ -10,7 +10,11 @@ ENV{ID_NET_DRIVER}=="be2net", RUN{builtin}+="kmod load ocrdma"
|
|
|
|
ENV{ID_NET_DRIVER}=="bnxt_en", RUN{builtin}+="kmod load bnxt_re"
|
2019-05-07 03:55:45 +00:00
|
|
|
ENV{ID_NET_DRIVER}=="cxgb4", RUN{builtin}+="kmod load iw_cxgb4"
|
|
|
|
ENV{ID_NET_DRIVER}=="hns", RUN{builtin}+="kmod load hns_roce"
|
|
|
|
-ENV{ID_NET_DRIVER}=="i40e", RUN{builtin}+="kmod load i40iw"
|
|
|
|
+# i40iw is not entirely suspend/resume friendly, and many systems with
|
|
|
|
+# i40e NICs aren't iwarp-capable, so Red Hat defaults to not auto-loading
|
|
|
|
+# the i40iw driver here to keep suspend/resume working. The i40iw driver
|
|
|
|
+# can still be loaded as needed by the rdma systemd service script.
|
|
|
|
+# ENV{ID_NET_DRIVER}=="i40e", RUN{builtin}+="kmod load i40iw"
|
|
|
|
ENV{ID_NET_DRIVER}=="mlx4_en", RUN{builtin}+="kmod load mlx4_ib"
|
|
|
|
ENV{ID_NET_DRIVER}=="mlx5_core", RUN{builtin}+="kmod load mlx5_ib"
|
|
|
|
ENV{ID_NET_DRIVER}=="qede", RUN{builtin}+="kmod load qedr"
|