Chapter XXIII. Traffic Management
For Offloaded connections
Traffic Management of offloaded connections can be configured either by applying COP policies
that associate offloaded connections to classes or by modifying the application.
Both the methods have been described below:
Applying COP policy
i.
Load the TOE driver and bring up the interface:
[root@host~]# modprobe t4_tom
[root@host~]# ifconfig ethX up
ii. Create a new policy file (say new_policy_file) and add the following line to associate
connections with the given scheduling class.
Example:
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
If no specified rule matches a connection, a default setting will be used which
Note
disables offload for that connection. That is, there will always be a final implicit rule
following all the rules in the input rule set of:
all => !offload
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 ethX policy <output_policy_file>
Where,
ethX: Chelsio interface
For more information on additional parameters, refer cop manual by running the
Note
cop
command.
Chelsio Unified Wire for Linux
man
324
Need help?
Do you have a question about the Terminator Series and is the answer not in the manual?
Questions and answers