Go to main content

Managing Network Virtualization and Network Resources in Oracle® Solaris 11.4

Exit Print View

Updated: November 2020
 
 

Displaying Ring Use and Ring Assignments

Use the following commands to display information about rings, depending on the specific information:

  • Display all possible values, configured values, and effective values of Rx rings and Tx rings.

    $ dladm show-linkprop -p rx-rings,tx-rings link
  • Display how the rings of a physical datalink are currently being used by clients.

    $ dladm show-phys -H link
  • Display ring group resource information for the underlying physical device.

    $ dladm show-phys -G link
Example 76  Ring Use and Ring Assignments on a Datalink

The following example shows the ring assignments on the datalink net4.

$ dladm show-linkprop net4
LINK     PROPERTY                PERM VALUE        EFFECTIVE    DEFAULT   POSSIBLE
...
net4     rx-rings                rw   1            --           --        sw,hw,<1-7>
net4     tx-rings                rw   1            --           --        sw,hw,<1-11>
net4     tx-rings-available      r-   10           10           --        --
net4     rx-rings-available      r-   7            7            --        --
...

The output shows that net4 has exclusive use of one Rx ring and one Tx ring. The datalink has seven Rx rings and ten Tx rings that are available for allocation to the clients. You can create three hardware-based Rx clients and three hardware-based Tx clients over the datalink net4.

The following example shows the ring use for the datalink net0.

$ dladm show-phys -H net0
LINK   RINGTYPE   RINGS   CLIENTS
net0   RX         0-1     <default,mcast>
net0   TX         0-7     <default>net0
net0   RX         2-3     net0
net0   RX         4-5     --
net0   RX         6-7     --

Based on the output, the two Rx rings allocated to net0 are rings 2 and 3. For Tx rings, net0 uses rings 0 through 7.

The following example shows the ring groups used by UMACs (Message Authentication Code by using universal hashing) and ring groups used by the VNICs.

$ dladm show-phys -G net2
LINK              RG-AVAIL  RG-INUSE-UMAC  RG-INUSE-VNIC   RG-INUSE-FLOW
net2              309       0              1                0