#lspci -d :2088 a0:00.0 Infiniband controller: Oracle/SUN Device 2088 (rev 03)
where 2088 is the vendor ID.
# find /sys/devices | egrep "a0:00.0" | head -1 /sys/devices/pci0000:80/0000:80:03.0/0000:a0:00.0
# cd /sys/devices/pci0000:80/0000:80:03.0/0000:a0:00.0
# echo 4 > sriov_numvfs
where 4 is the sample number of VFs.
# cd /sys/bus/pci/drivers/pci-stub/
# echo "108e 2089" > /sys/bus/pci/drivers/pci-stub/new_id
Repeat Steps 3 to Step 6 after each server reboot.