Managing Network Datalinks in Oracle® Solaris 11.2

Exit Print View

Updated: September 2014
 
 

Setting the ETS-Related Datalink Properties

The properties of datalinks that refer to PFC information apply to the prevention of packet loss based on the priorities defined for the packets. The ETS properties relate to assigning shares of the underlying link's bandwidth based on priorities.

    DCB provides the following ETS-related properties:

  • cos – Specifies the class of service or priority of the datalink. The value of this property ranges from 0 to 7. The default value is 0. The cos value is set in the VLAN tag of the packets that are transmitted over this link.

  • etsbw-lcl – Indicates the ETS bandwidth that is allocated on the transmit (Tx) side for the datalink. This property is configurable only if the underlying physical NIC has DCB capabilities and supports ETS and the link's cos property is not set to 0. You set a value for this property on a datalink by specifying the percentage of total bandwidth of the underlying physical link. The sum of the values for the etsbw-lcl property for all the datalinks over the same physical NIC must not exceed 100%.

    The bandwidth percentage that is defined on etsbw-lcl is not reserved only for that datalink. If the allocated bandwidth is not used, then it can be used by other datalinks on that physical NIC. Further, the bandwidth allocation is enforced only on the transmission side of the host's traffic.

  • etsbw-rmt-advice – Specifies the recommended ETS bandwidth value sent to the peer. By default, the locally configured value of the etsbw-lcl property is recommended to the peer. However, you can recommend a value that is different from the etsbw-lcl property by explicitly configuring the etsbw-rmt-advice datalink property.

    Configuring the etsbw-rmt-advice property is useful if the bandwidth assignment for a datalink is asymmetrical, which means that the receive (Rx) and transmit (Tx) bandwidth are different. When you explicitly set the etsbw-rmt-advice property, transmission of the ETS recommendation DCBX TLV starts automatically.

  • etsbw-lcl-advice – Specifies the recommended bandwidth share for the datalink, which is sent by the peer to the local host. This is a read-only property.

  • etsbw-rmt – Specifies the bandwidth share that is configured on the peer for the datalink. This is a read-only property.

    To set the priority and to allocate a bandwidth to the VNIC, use the following commands:

  • To set the priority to the VNIC:

    # dladm set-linkprop -p cos=value VNIC
  • To allocate a percentage of the bandwidth of the underlying physical link to a VNIC:

    # dladm set-linkprop -p etsbw-lcl=value VNIC

    The value that you assign to the etsbw-lcl property represents a percentage of the total bandwidth capacity of the underlying link. The sum of all the allocated bandwidth values that you assign to the clients must not exceed 100 percent.

  • To explicitly recommend a bandwidth that is sent to the peer:

    # dladm set-linkprop -p etsbw-rmt-advice=value VNIC

You can determine the actual bandwidth share that is implemented on the local host's datalink and the bandwidth share that is configured on the peer's datalink by using the dladm show-linkprop command. The value in the EFFECTIVE field of the output for the etsbw-lcl and etsbw-rmt properties shows the actual bandwidth share implemented. For more information, see Displaying ETS Configuration Information.

For the appropriate bandwidth to be used for packets with specific priorities, symmetric or synchronized ETS information between the communicating hosts is preferable. Specifically, should be the local system that is able to adjust its bandwidth share to the value of etsbw-lcl-advice. An Oracle Solaris system can automatically adjust its ETS configurations to match the ETS recommendation from the peer.