Parameter
Description
Value
tc
Controls the scheduling
relationship before the traffic
reaches the Traffic Classifier
(TC).
xxxxxxxx
The
x
value ranges from 0
to 3.
Usage Instruction
l
After ETS is enabled for the first time after you run the
-e
command, you can run the
-t
command to control the scheduling relationship before traffic reaches the TC.
l
After the ETS function is disabled, the ETS function cannot be configured and the
scheduling relationship before the traffic reaches the TC does not change. ETS needs to
be manually reconfigured.
Example
# Set the priority-2 and priority-3 ETS of enp6s0 to SP scheduling.
[root@localhost ~]#
hinicadm ets -i enp6s0 -e 1 -t 00120000
Set enp6s0 ets succeed
6.1.4.47.3 Setting DWRR Scheduling (-t -p)
Function
The
ets
-t -p -s
command is used to set Deficit Weighted Round Robin (DWRR) scheduling
of a device.
Format
hinicadm ets -i
<
devicename
> -e <
mode
> [-t <
tc
>] -p <
percent
>
hinicadm ets -i
<
devicename
> [-t <
tc
>] -p <
percent
>
Parameters
Parameter
Description
Value
devicename
Indicates the name of the
IN200 to be queried and set in
the system.
For example, the value can
be
enp6s0
or
enp7s0
.
mode
Enables or disables the ETS
function.
l
1
: enables ETS.
l
0: disables ETS.
tc
Controls the scheduling
relationship before the traffic
reaches the TC.
xxxxxxxx
The
x
value ranges from 0
to 3.
Huawei IN200 NIC
User Guide
6 Management Tools
Issue 06 (2019-07-27)
Copyright © Huawei Technologies Co., Ltd.
113