User Manual

Driver FeaturesRev 2.2-1.0.1
Mellanox Technologies
130
4.16.1 QCN Tool - mlnx_qcn
mlnx_qcn is a tool used to configure QCN attributes of the local host. It communicates directly
with the driver thus does not require setting up a DCBX daemon on the system.
The mlnx_qcn enables the user to:
Inspect the current QCN configurations for a certain port sorted by priority
Inspect the current QCN statistics and counters for a certain port sorted by priority
Set values of chosen QCN parameters
Usage:
mlnx_qcn -i <interface> [options]
Options:
--version Show program's version number and exit
-h, --help Show this help message and exit
-i INTF, --interface=INTF Interface name
-g TYPE, --get_type=TYPE Type of information to get statistics/param-
eters
--rpg_enable=RPG_ENABLE_LIST Set value of rpg_enable according to prior-
ity, use spaces between values and -1 for
unknown values.
--rppp_max_rps=RPPP_MAX_RPS_LIST Set value of rppp_max_rps according to prior-
ity, use spaces between values and -1 for
unknown values.
--rpg_time_reset=RPG_TIME_RESET_LIST Set value of rpg_time_reset according to pri-
ority, use spaces between values and -1 for
unknown values.
--rpg_byte_reset=RPG_BYTE_RESET_LIST Set value of rpg_byte_reset according to pri-
ority, use spaces between values and -1 for
unknown values.
--rpg_threshold=RPG_THRESHOLD_LIST Set value of rpg_threshold according to pri-
ority, use spaces between values and -1 for
unknown values.
--rpg_max_rate=RPG_MAX_RATE_LIST Set value of rpg_max_rate according to prior-
ity, use spaces between values and -1 for
unknown values.
--rpg_ai_rate=RPG_AI_RATE_LIST Set value of rpg_ai_rate according to prior-
ity, use spaces between values and -1 for
unknown values.
--rpg_hai_rate=RPG_HAI_RATE_LIST Set value of rpg_hai_rate according to prior-
ity, use spaces between values and -1 for
unknown values.
--rpg_gd=RPG_GD_LIST Set value of rpg_gd according to priority,
use spaces between values and -1 for unknown
values.