
XVI. Traffic Management
Copyright ©2013.Chelsio Communications. All Rights Reserved. Page 212
2. Create a new policy file (say new_policy_file) and add the following line to associate
connections with the given scheduling class.
E.g.:
src host 102.1.1.1 => offload class 0
The above example will associate all connections originating from IP address 102.1.1.1 with
scheduling 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 ethX policy <output_policy_file>
Where,
ethX: Chelsio interface
Modifying the application
The application can also be modified in order to associate connections to scheduling classes.
Follow the steps mentioned below:
1. Determine the TCP socket file descriptor in the application through which data is sent.
COP supports association of connections with scheduling classes 0 and 1.
For more information on additional parameters, refer cop manual by running the
man cop command.
Komentáře k této Příručce