You can display information about the availability of VFs on a datalink by using the following command:
# dladm show-phys –V
The output shows the following information:
Name of the datalink.
Number of VFs available on a datalink that can be assigned to a VNIC. If the datalink does not support SR-IOV, VFS-AVAIL is shown as --.
Number of VFs that are used by a datalink. If the datalink does not support SR-IOV, VFS-INUSE is shown as --.
The l flag indicates that the datalink is managed by Oracle VM Server for SPARC.
# dladm show-phys -V LINK VFS-AVAIL VFS-INUSE FLAGS net0 30 1 ----- net1 0 0 l---- net2 -- -- -----
In this example, the datalink net0 has 30 available VFs and one VF in use. The datalink net1 has zero (0) available VFs and it is currently being used by Oracle VM Server for SPARC. The datalink net2 does not support SR-IOV.
You can display the VF devices assigned to VNICs on a system by using the following command:
# dladm show-vnic –V
The output shows the following information:
Name of the VNIC.
VF device assigned to the VNIC. If the VNIC does not have a VF, VF-ASSIGNED is shown as --.
# dladm show-vnic -V LINK VF-ASSIGNED vnic1 ixgbevf0 vnic2 -- vnic3 ixgbevf1
In this example, the VF device ixgbevf0 is assigned to vnic1. The VNIC vnic2 does not have an allocated VF device. The VF device ixgbevf1 is assigned to vnic3.