Go to main content

Managing Network Virtualization and Network Resources in Oracle® Solaris 11.3

Exit Print View

Updated: April 2018
 
 

Displaying VF Information

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:

LINK

Name of the datalink.

VFS-AVAIL

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 --.

VFS-INUSE

Number of VFs that are used by a datalink. If the datalink does not support SR-IOV, VFS-INUSE is shown as --.

FLAGS

The l flag indicates that the datalink is managed by Oracle VM Server for SPARC.

Example 29  Displaying VFs Information for Datalinks
# 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:

LINK

Name of the VNIC.

VF-ASSIGNED

VF device assigned to the VNIC. If the VNIC does not have a VF, VF-ASSIGNED is shown as --.

Example 30  Displaying VF Devices Assigned to VNICs
# 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.