User Manual
Driver FeaturesRev 2.0-3.0.0
Mellanox Technologies
88
Step 3. Go to Details->Add hardware ->PCI host device.
Step 4. Choose a Mellanox virtual function according to its PCI device (e.g., 00:03.1)
Step 5. If the Virtual Machine is up reboot it, otherwise start it.
Step 6. Log into the virtual machine and verify that it recognizes the Mellanox card. Run:
Step 7. Add the device to the /etc/sysconfig/network-scripts/ifcfg-ethX configuration file. The
MAC address for every virtual function is configured randomly, therefore it is not necessary to
add it.
4.13.5 Uninstalling SR-IOV Driver
To uninstall SR-IOV driver, perform the following:
Step 1. For Hypervisors, detach all the Virtual Functions (VF) from all the Virtual Machines (VM) or
stop the Virtual Machines that use the Virtual Functions.
Please be aware, stopping the driver when there are VMs that use the VFs, will cause machine to hang.
Step 2.
Run the script below. Please be aware, uninstalling the driver deletes the entire driver's file, but
does not unload the driver.
lspci | grep Mellanox
00:03.0 InfiniBand: Mellanox Technologies MT27500 Family [ConnectX-3 Virtual Function]
(rev b0)
[root@swl022 ~]# /usr/sbin/ofed_uninstall.sh
This program will uninstall all OFED packages on your machine.
Do you want to continue?[y/N]:y
Running /usr/sbin/vendor_pre_uninstall.sh
Removing OFED Software installations