Go to main content

Managing Network Datalinks in Oracle® Solaris 11.3

Exit Print View

Updated: December 2017
 
 

Setting the PFC-Related Datalink Properties

The PFC feature of DCB provides the following datalink properties:

  • pfcmap – Provides information about priority definitions and mappings. The pfcmap property refers to an 8-bit mask (0–7) that represent priorities. The lowest bit represents priority 0 while the highest bit represents priority 7. Each bit in this mask signifies whether PFC is enabled for a corresponding priority. By default, pfcmap is set to 1111111, which means that PFC is enabled on all the priorities.

  • pfcmap-rmt – Specifies the operative PFC mapping on the remote peer. This property is read-only.

In a DCB network, when a receiver is unable to keep up with the incoming rate of traffic, it sends a PFC frame to the sender requesting the sender to pause traffic for priorities that have PFC enabled. For any packet transmitted over a link, DCB sends a PFC frame to the sending host if traffic congestion accumulates on the receiving host. To send PFC frames properly, the communicating hosts must have symmetric DCB configuration information. A system can automatically adjust its PFC configurations to match the PFC configurations on the remote peer. You can determine the operative PFC mapping on the local host by using the dladm show-linkprop command that displays the EFFECTIVE value for the pfcmap property. For more information, see Displaying Datalink Properties.

How to Customize Priority-Based Flow Control for DCB

  1. Become an administrator.

    For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.3.

  2. Ensure that the flowctrl property of the datalink is set to pfc.
    # dladm show-linkprop -p flowctrl datalink

    If the property is not set to pfc or auto, use the following command:

    # dladm set-linkprop -p flowctrl=pfc datalink
  3. Set the pfcmap property to a value other than the default value 11111111.
    # dladm set-linkprop -p pfcmap=value datalink

    For example, to enable priority only on CoS priority 6, type the following command:

    # dladm set-linkprop -p pfcmap=01000000 net0