
XIX. Traffic Management
Chelsio T5/T4 Unified Wire For Linux Page 260
Both the methods have been described below:
Applying COP policy
1. Bring up the interface:
[root@host]# ifconfig ethX up
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:
For more information on additional parameters, refer cop manual by running the
man cop command.
Comentários a estes Manuais