
XVI. Traffic Management
Copyright ©2013.Chelsio Communications. All Rights Reserved. Page 215
3. Compile the policy file using COP
[root@host]# cop -d –o <output_policy_file> <new_policy_file>
4. Apply the COP policy:
[root@host]# cxgbtool ethX policy <output_policy_file>
5. Set the appropriate rule for class 0
[root@host]# cxgbtool ethX sched-class params type packet level cl-rl
mode class rate-unit bits rate-mode absolute channel 0 class 0 max-rate
300000 pkt-size 1460
5.3. Offloaded Connections with Modified Application
The following example demonstrates the method to rate limit all TCP connections on class 0 at
a rate of 300 Mbps for for offloaded connections with modified application.
1. Load the Network driver in TOE mode.
[root@host]# modprobe t4_tom
2. Modify the application as mentioned in the Configuring Traffic Management section.
3. Set the appropriate rule for class 0
[root@host]# cxgbtool ethX sched-class params type packet level cl-rl
mode class rate-unit bits rate-mode absolute channel 0 class 0 max-rate
300000 pkt-size 1460
Komentarze do niniejszej Instrukcji