Chelsio Communications Chelsio T5 User's Guide Page 263

  • Download
  • Add to my manuals
  • Print
  • Page
    / 460
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 262
XIX. Traffic Management
Chelsio T5/T4 Unified Wire For Linux Page 263
2. 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
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 eth0 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 to
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
Page view 262
1 2 ... 258 259 260 261 262 263 264 265 266 267 268 ... 459 460

Comments to this Manuals

No comments