7–RoCE Configuration
Configuring DCQCN
166
BC0154501-00 P
DCQCN Algorithm Parameters
lists the algorithm parameters for DCQCN.
MAC Statistics
To view MAC statistics, including per-priority PFC statistics, issue the
phy_mac_stats
command. For example, to view statistics on port 1 issue the
following command:
./
debugfs.sh -n eth0 -d phy_mac_stat -P 1
Table 7-4. DCQCN Algorithm Parameters
Parameter
Description and Values
dcqcn_cnp_send_timeout
Minimal difference of send time between CNPs.
Units are in microseconds. Values range between
50..500000.
dcqcn_cnp_dscp
DSCP value to be used on CNPs. Values range
between 0..63.
dcqcn_cnp_vlan_priority
vLAN priority to be used on CNPs. Values range
between 0..7. FCoE-Offload uses
3
and
iSCSI-Offload-TLV generally uses
4
. Cavium rec-
ommends that you specify a number from 1–2 or
5–7. Use this same value throughout the entire net-
work.
dcqcn_notification_point
0 – Disable DCQCN notification point.
1 – Enable DCQCN notification point
dcqcn_reaction_point
0 – Disable DCQCN reaction point.
1 – Enable DCQCN reaction point
dcqcn_rl_bc_rate
Byte counter limit.
dcqcn_rl_max_rate
Maximum rate in Mbps.
dcqcn_rl_r_ai
Active increase rate in Mbps.
dcqcn_rl_r_hai
Hyperactive increase rate in Mbps.
dcqcn_gd
Alpha update gain denominator. Set to 32 for 1/32,
and so on.
dcqcn_k_us
Alpha update interval.
dcqcn_timeout_us
DCQCN timeout.