Blame SOURCES/i40iw-autoload-breaks-suspend.patch

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