Intel® Ethernet 800 Series Linux Flow Control
Configuration Guide for RDMA Use Cases
Software DCB Willing Mode
Software DCB can be configured in either IEEE or CEE mode.
For IEEE mode
- Disable CEE transmission.
#lldptool -Ti $interface -V CEE-DCBX enableTx=no - Reset the DCBX mode to be auto (start in IEEE DCBX mode) after the next lldpad restart.
#lldptool -Ti $interface -V IEEE-DCBX mode=reset - Configure willing configuration for interface.
#lldptool -Ti $interface -V ETS-CFG enableTx=yes willing=yes - Configure willing recommendation for interface.
#lldptool -Ti $interface -V ETS-REC enableTx=yes Setting
willing=yes for ETS-REC is not logical as it is by definition a recommendation for a willing link partner. - Configure willing PFC for interface.
#lldptool -Ti $interface -V PFC enable=yes willing=yes enableTx=yes - Terminate the first instance of lldpad that was started (e.g., from initrd). Once
lldpad -k has been invoked and lldpad has been restarted, subsequent invocations oflldpad -k will not terminate lldpad.#lldpad -k - Remove lldpad state records from shared memory.
#lldpad -s - Restart service lldpad.
#systemctl restart lldpad.service - Ensure CEE mode enableTx is set to no.
#lldptool -ti $interface -V CEE-DCBX -c Output:
enableTx=no - Ensure DCBX mode is set to auto.
#lldptool -ti $interface -V IEEE-DCBX -c Output:
mode=auto
For CEE mode
In CEE, successful negotiation requires the link partner also to be in CEE mode.
- Enable CEE transmission.
#lldptool -T -i $interface -V CEE-DCBX enableTx=yes - Reset the DCBX mode to be auto (start in IEEE DCBX mode) after the next lldpad restart.
#lldptool -Ti $interface -V IEEE-DCBX mode=reset - To clean configuration of interface, set willing to off, disable priority group features, and set advertise to off.
#dcbtool sc $interface pg w:0 e:0 a:0 - To clean configuration of interface, set willing to off, disable PFC features, and set advertise to off.
#dcbtool sc $interface pfc w:0 e:0 a:0 - Configure willing, enable, and advertise configuration for priority group for interface.
#dcbtool sc $interface pg w:1 e:1 a:1 - Configure willing, enable, and advertise configuration for PFC for interface.
#dcbtool sc $interface pfc w:1 e:1 a:1 - Terminate the first instance of lldpad that was started (for example, from initrd).
Once
lldpad -k has been invoked and lldpad has been restarted, subsequent invocations oflldpad -k will not terminate lldpad.#lldpad -k - Remove lldpad state records from shared memory.
#lldpad -s - Restart service lldpad.
#systemctl restart lldpad.service - Ensure CEE mode enableTx is set to yes.
#lldptool -ti $interface -V CEE-DCBX -c Output:
enableTx=yes - Ensure DCBX mode is set to cee.
#lldptool -ti $interface -V IEEE-DCBX -c Output
mode=cee