From 78432da4bd1fb9604f9e8a83248e215eaf7cdbc5 Mon Sep 17 00:00:00 2001 From: Adit Ranadive Date: Tue, 14 Mar 2017 10:52:05 -0700 Subject: [PATCH] Add support for VMware PVRDMA user driver Signed-off-by: Adit Ranadive --- install.pl | 19 ++++++++++++++++++- uninstall.sh | 2 +- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/install.pl b/install.pl index 436b995..cb18e7f 100755 --- a/install.pl +++ b/install.pl @@ -593,6 +593,7 @@ my @prev_ofed_packages = ( "libnes", "libnes-devel", "infinipath-psm", "infinipath-psm-devel", "intel-mic-psm", "intel-mic-psm-devel", "ibpd", "libibscif", "libibscif-devel", + "libvmw_pvrdma", "libvmw_pvrdma-devel", "rdma-core", "rdma-core-compat", "mvapich", "openmpi", "mvapich2" ); @@ -832,6 +833,22 @@ my %packages_info = ( ofa_req_inst => ["fabtests"], install32 => 0, exception => 0 }, + 'libvmw_pvrdma' => + { name => "libvmw_pvrdma", parent => "libvmw_pvrdma", + selected => 0, installed => 0, rpm_exist => 0, rpm_exist32 => 0, + available => 1, mode => "user", dist_req_build => [], + dist_req_inst => [],ubuntu_dist_req_build => [], + ubuntu_dist_req_inst => [], ofa_req_build => ["rdma-core"], + ofa_req_inst => ["rdma-core"], + install32 => 1, exception => 0, configure_options => '' }, + 'libvmw_pvrdma-devel' => + { name => "libvmw_pvrdma-devel", parent => "libvmw_pvrdma", + selected => 0, installed => 0, rpm_exist => 0, rpm_exist32 => 0, + available => 1, mode => "user", dist_req_build => [], + dist_req_inst => [], ofa_req_build => ["rdma-core"], + ofa_req_inst => ["rdma-core", "libvmw_pvrdma"], + install32 => 1, exception => 0 }, + # Management 'libibmad' => { name => "libibmad", parent => "libibmad", @@ -3216,7 +3233,7 @@ sub main if ($DISTRO =~ /RHEL.*/ || $DISTRO =~ /SLES.*/ ) { print "\nTech Preview: "; - print "xeon-phi "; + print "xeon-phi vmw_pvrdma "; } print "\n"; diff --git a/uninstall.sh b/uninstall.sh index e778834..ef61c05 100755 --- a/uninstall.sh +++ b/uninstall.sh @@ -173,7 +173,7 @@ sub uninstall my $sig = 0; my $cnt = 0; my @installed_rpms = `ofed_info | grep -A999 '^-' 2> /dev/null | grep -v '^-'`; - my @other_ofed_rpms = `rpm -qa 2> /dev/null | grep -wE "compat-rdma|libibverbs|rdma|ofed|openib|kernel-ib|rds|ib-bonding|infiniband|libfabric|fabtests"`; + my @other_ofed_rpms = `rpm -qa 2> /dev/null | grep -wE "compat-rdma|libibverbs|rdma|ofed|openib|kernel-ib|rds|ib-bonding|infiniband|libfabric|fabtests|libvmw_pvrdma"`; my $cmd = "rpm -e --allmatches --nodeps $rpm_flags"; for my $package (@other_ofed_rpms) { -- 2.46.0