User`s guide

XVI. Traffic Management
Chelsio T5/T4 Unified Wire For Linux Page 215
4.1.2. Class Weighted Round Robin
Incoming traffic flows from various applications can be prioritized and provisioned using a
weighted round-robin scheduling algorithm.
Class weighted round robin can be configured using the following command:
[root@host]# cxgbtool <ethX> sched-class params type packet level cl-wrr
mode class rate-unit bits rate-mode absolute channel <Channel No.> class
<scheduler-class-index> weight <Y>
Here,
ethX is the Chelsio interface
Channel No. is the port on which data is flowing (0-3).
scheduler-class-index is the TCP traffic class (0-14)
weight is the weight to be used for a weighted-round-robin scheduling hierarchy. Possible
values include 1 to 99.
4.1.3. Channel Rate Limiting
This scheduler hierarchy level can be used to rate limit individual channels.
Channel rate limiting can be configured using the following command:
[root@host]# cxgbtool <ethX> sched-class params type packet level ch-rl
mode class rate-unit <scheduler-rate-unit> rate-mode <scheduler-rate-mode>
channel <Channel No.> class 0 max-rate <maximum-rate> pkt-size <Packet
size>
Here,
ethX is the Chelsio interface
scheduler-rate-unit specifies whether the traffic management rule is configured for bit-rate or
packet rate . Possible values include bits or pkts
scheduler-rate-mode specifies whether the traffic management rule is configured to support
a percent of the channel rate or an effective rate. Possible values include relative or
absolute.
Channel No. is the port on which data is flowing (0-3).
Class Weighted Round Robin level is not supported on T5 adapters.
Note