Blame SOURCES/i40iw-autoload-breaks-suspend.patch
|
|
764884 |
Index: rdma-core-15/kernel-boot/rdma-hw-modules.rules
|
|
|
764884 |
===================================================================
|
|
|
764884 |
--- rdma-core-15.orig/kernel-boot/rdma-hw-modules.rules
|
|
|
764884 |
+++ rdma-core-15/kernel-boot/rdma-hw-modules.rules
|
|
|
764884 |
@@ -11,7 +11,11 @@ ENV{ID_NET_DRIVER}=="bnxt_en", RUN{built
|
|
|
764884 |
ENV{ID_NET_DRIVER}=="cxgb3", RUN{builtin}+="kmod load iw_cxgb3"
|
|
|
764884 |
ENV{ID_NET_DRIVER}=="cxgb4", RUN{builtin}+="kmod load iw_cxgb4"
|
|
|
764884 |
ENV{ID_NET_DRIVER}=="hns", RUN{builtin}+="kmod load hns_roce"
|
|
|
764884 |
-ENV{ID_NET_DRIVER}=="i40e", RUN{builtin}+="kmod load i40iw"
|
|
|
764884 |
+# i40iw is not entirely suspend/resume friendly, and many systems with
|
|
|
764884 |
+# i40e NICs aren't iwarp-capable, so Red Hat defaults to not auto-loading
|
|
|
764884 |
+# the i40iw driver here to keep suspend/resume working. The i40iw driver
|
|
|
764884 |
+# can still be loaded as needed by the rdma systemd service script.
|
|
|
764884 |
+# ENV{ID_NET_DRIVER}=="i40e", RUN{builtin}+="kmod load i40iw"
|
|
|
764884 |
ENV{ID_NET_DRIVER}=="mlx4_en", RUN{builtin}+="kmod load mlx4_ib"
|
|
|
764884 |
ENV{ID_NET_DRIVER}=="mlx5_core", RUN{builtin}+="kmod load mlx5_ib"
|
|
|
764884 |
ENV{ID_NET_DRIVER}=="qede", RUN{builtin}+="kmod load qedr"
|