install.pl: Enable qib for 4.17 kernel only
authorVladimir Sokolovsky <vlad@mellanox.com>
Tue, 18 Sep 2018 21:00:31 +0000 (16:00 -0500)
committerVladimir Sokolovsky <vlad@mellanox.com>
Tue, 18 Sep 2018 21:00:31 +0000 (16:00 -0500)
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
install.pl

index f7cbd01..c22498a 100755 (executable)
@@ -1376,13 +1376,15 @@ sub set_availability
             $kernel_modules_info{'srpt'}{'available'} = 1;
             $kernel_modules_info{'i40e'}{'available'} = 1;
             $kernel_modules_info{'i40iw'}{'available'} = 1;
+            if ($arch =~ m/x86_64/) {
+                $kernel_modules_info{'qib'}{'available'} = 1;
+            }
     }
     if ($rpm_distro =~ /rhel7u3|sles12sp2/) {
             $kernel_modules_info{'nfsrdma'}{'available'} = 1;
     }
     # libfabric due to dependency on infinipath-psm
     if ($arch =~ m/x86_64/) {
-        $kernel_modules_info{'qib'}{'available'} = 1;
         $packages_info{'libfabric'}{'ofa_req_build'} = ["rdma-core"];
         $packages_info{'libfabric'}{'ofa_req_inst'} = ["rdma-core"];
     }