Blame SOURCES/redhat-kernel-init-libi40iw-no-longer-tech-preview.patch

67cf66
commit bda9530d37c5451928f6ba2c0ddc8c14d367d581
67cf66
Author: Jarod Wilson <jarod@redhat.com>
67cf66
Date:   Mon Mar 6 15:44:49 2017 -0500
67cf66
67cf66
    redhat/kernel-init: libi40iw no longer tech-preview
67cf66
    
67cf66
    Signed-off-by: Jarod Wilson <jarod@redhat.com>
67cf66
67cf66
Index: rdma-core-17.1/redhat/rdma.kernel-init
67cf66
===================================================================
67cf66
--- rdma-core-17.1.orig/redhat/rdma.kernel-init
67cf66
+++ rdma-core-17.1/redhat/rdma.kernel-init
67cf66
@@ -141,11 +141,12 @@ load_hardware_modules()
67cf66
 	load_modules usnic_verbs
67cf66
 	RC+=$?
67cf66
     fi
67cf66
+    if is_loaded i40e -a ! is_loaded i40iw; then
67cf66
+	load_modules i40iw
67cf66
+	RC+=$?
67cf66
+    fi
67cf66
     if [ "${LOAD_TECH_PREVIEW_DRIVERS}" == "yes" ]; then
67cf66
-        if is_loaded i40e -a ! is_loaded i40iw; then
67cf66
-	    load_modules i40iw
67cf66
-	    RC+=$?
67cf66
-        fi
67cf66
+        continue
67cf66
     fi
67cf66
     return $RC
67cf66
 }