How to Destroy a Fibre Channel SR-IOV Virtual Function
If you cannot use this dynamic method, use the static method instead. See Static SR-IOV.
Example 8-22 Dynamically Destroying Multiple Fibre Channel SR-IOV Virtual Functions
This example shows the results of destroying all the virtual functions from the /SYS/MB/PCIE5/IOVFC.PF1
physical function. The ldm list-io
output shows that the physical function has eight virtual functions. The ldm destroy-vf -n max
command destroys all the virtual functions, and the final ldm list-io
output shows that none of the virtual functions remain.
primary# ldm list-io ... /SYS/MB/PCIE5/IOVFC.PF1 PF pci_1 /SYS/MB/PCIE5/IOVFC.PF1.VF0 VF pci_1 /SYS/MB/PCIE5/IOVFC.PF1.VF1 VF pci_1 /SYS/MB/PCIE5/IOVFC.PF1.VF2 VF pci_1 /SYS/MB/PCIE5/IOVFC.PF1.VF3 VF pci_1 /SYS/MB/PCIE5/IOVFC.PF1.VF4 VF pci_1 /SYS/MB/PCIE5/IOVFC.PF1.VF5 VF pci_1 /SYS/MB/PCIE5/IOVFC.PF1.VF6 VF pci_1 /SYS/MB/PCIE5/IOVFC.PF1.VF7 VF pci_1 primary# ldm destroy-vf -n max /SYS/MB/PCIE5/IOVFC.PF1 primary# ldm list-io ... /SYS/MB/PCIE5/IOVFC.PF1 PF pci_1
Example 8-23 Destroying a Fibre Channel Virtual Function
This example shows how to statically destroy the virtual functions from the /SYS/MB/PCIE7/IOVFC.PF0
physical function.
primary# ldm start-reconf rootdom1 Initiating a delayed reconfiguration operation on the rootdom1 domain. All configuration changes for other domains are disabled until the rootdom1 domain reboots, at which time the new configuration for the rootdom1 domain will also take effect. primary# ldm destroy-vf -n max /SYS/MB/PCIE7/IOVFC.PF0 primary# ldm stop-domain -r rootdom1