Managing Network Virtualization and Network Resources in Oracle® Solaris 11.2

Exit Print View

Updated: September 2014
 
 

Displaying Ring Use and Ring Assignments on a Datalink

To display the possible values, configured values, and effective values of Rx rings and Tx rings of a datalink, you use the following command syntax:

# dladm show-linkprop -p rxrings,txrings link

To display how the rings of a physical datalink are currently being used by clients, you use the following command syntax:

# dladm show-phys -H link
Example 7-1  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     rxrings         rw   1            --           --        sw,hw,<1-7>
net4     txrings         rw   1            --           --        sw,hw,<1-11>
net4     txringsavail    r-   10           10           --        --
net4     rxringsavail    r-   7            7            --        --
net4     rxhwclntavail   r-   3            3            --        --
net4     txhwclntavail   r-   3            3            --        --
...

The output shows that the datalink net4 has exclusive use of one Rx ring and one Tx ring. The datalink net4 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.