Chapter XXIII. Traffic Management
ii. Create a new policy file (say new_policy_file) and add the following line to associate
connections with the given scheduling class.:
src host 102.1.1.1 => offload class 0
iii. Compile the policy file using COP
[root@host~]# cop -d –o <output_policy_file> <new_policy_file>
iv. Apply the COP policy:
[root@host~]# cxgbtool eth0 policy <output_policy_file>
v. Set the appropriate rule for class 0
[root@host~]# cxgbtool ethX sched-class params
mode class
rate-unit bits
300000
pkt-size 1460
4.3.
Offloaded Connections with Modified Application
The following example demonstrates the method to rate limit all TCP connections on class 0 to a
rate of 300 Mbps for for offloaded connections with modified application.
i.
Load the TOE driver and bring up the interface.
[root@host~]# modprobe t4_tom
[root@host~]# ifconfig eth0 up
ii. Modify the application as mentioned in the
iii. Set the appropriate rule for class 0
[root@host~]# cxgbtool ethX sched-class params
mode class
rate-unit bits
300000
pkt-size 1460
Chelsio Unified Wire for Linux
rate-mode absolute channel 0
Configuring Traffic Management
rate-mode absolute channel 0
type packet
level cl-rl
class 0 max-rate
section.
type packet
level cl-rl
class 0 max-rate
327
Need help?
Do you have a question about the Terminator Series and is the answer not in the manual?
Questions and answers