Go to main content

Managing Network Datalinks in Oracle® Solaris 11.3

Exit Print View

Updated: December 2017
 
 

Setting the PFC TLV Units

DCB uses PFC TLV units to exchange PFC information between hosts. Either hosts must have the same value for the pfcmap property or at least one host must be willing to accept the configuration of its peer. You can set the pfcmap property by using the dladm set-linkprop command.

The TLV property willing indicates whether the host is ready to accept the peer's configuration if the host configuration differs from the peer's configuration. By default, the property value of willing is set to on, which indicates that the host will accept the peer's configuration.

To verify that the host can synchronize its PFC information with the PFC information on the remote peer, you must determine whether the willing is set to on by using the following command:

# lldpadm show-agenttlvprop -p willing -a agent pfc

If the PFC TLV property willing is set to off, type the following command to set the property willing to on and enable synchronization.

# lldpadm set-agenttlvprop -p willing=on -a agent pfc

Where agent is the datalink on which the agent is enabled.

Example 40  Enabling Synchronization Between the Host and the Peer

To enable synchronization for a net0 datalink, type the following command:

# lldpadm set-agenttlvprop -p willing=on -a net0 pfc

# dladm show-linkprop -p pfcmap,pfcmap-rmt net0 
LINK   PROPERTY    PERM  VALUE      EFFECTIVE  DEFAULT    POSSIBLE
net0   pfcmap      rw    11111111   00010000   11111111   00000000-11111111
net0   pfcmap-rmt  r-    --         00010000   11111111   -- 

In the example, the pfcmap and pfcmap-rmt properties have the value 00010000. This indicates that the local host has synchronized with the peer. Hence, PFC is enabled with a priority of 4 on both the host and the peer.

For more information, see the lldpadm(1M) man page.