Users Guide

Table Of Contents
Broadcom NetXtreme-E-UG304-2CS
114
NetXtreme-E User Guide User Guide for Dell Platforms
#!/bin/sh
export IFACE=$1
if [ -x /etc/ifup-roce-${IFACE} ]; then
. /etc/ifup-roce-${IFACE}
fi
2. Set the script to be executable with the following commands:
sudo chmod 755 /sbin/ifup-local
3. Reconfigure the interface with the following commands:
sudo ifdown <IFACE>
sudo ifup <IFACE>
14.2.5.7 Congestion Control Settings
Different topologies may require different tunings. See Performance for additional information.
14.2.5.7.1 Congestion Control Parameters
The following is an example of setting congestion control parameters:
Table 34: Congestion Control Parameters
CC Parameter
a
a. Releases prior to 20.8 have slightly different naming conventions.
Description
inact_cp Inactivity time after which the CC parameters of a QP are re-initialized.
nph_per_state Number of phases per state. 0 to 7. How many RTTs in Fast Recovery state.
cnp_dscp DSCP value for RoCE Congestion Notification Packets.
roce_dscp DSCP value for RoCE Packets.
cc_mode 0 for DCTCP algorithm, 1 for TCP. Default 0.
cnp_prio Priority for RoCE Congestion Notification Packets.
ecn_enable Enable congestion control.
ecn_marking Specifies which ECN bit to set. 0x1 for 01b or 0x2 for 10b.
g Running average weight in computing cp (Congestion Probability). The weight is 2^g, g between 1 and 7, default 4.
init_cr Current rate after on QP creation and after QP has not transmitted for more than inctivity_th. Value between 0 and
1023 as fraction of full link BW.
int_tr Target rate after on QP creation and after QP has not transmitted for more than inctivity_th. Value between 0 and 1023
as fraction of full link BW.
roce_prio Priority for RoCE Packets.
rtt Time period [us] over which cnp and transmitted packets counts accumulate. At the end of Rtt ratio between CNPs
and TxPkts computed and cp is update.
tcp_cp The reduction level on reception of CNP when cc_mode is 1 (TCP mode). Value between 0 ans 1023, representing
0-1.0.
vlan_tx_disab
le
Disables the VLAN headers (required if using DSCP).
apply Applies the settings.