
Chapter XXIII. Traffic Management
Chelsio Unified Wire for Linux
324
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
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
man
cop
command.
Note
If no specified rule matches a connection, a default setting will be used which
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
Note
Summary of Contents for Terminator 6
Page 1: ...Chelsio Unified Wire for Linux i...
Page 15: ...Chapter I Chelsio Unified Wire Chelsio Unified Wire for Linux 15 I Chelsio Unified Wire...
Page 51: ...Chapter II Network NIC TOE Chelsio Unified Wire for Linux 51 II Network NIC TOE...
Page 82: ...Chapter IV iWARP RDMA Chelsio Unified Wire for Linux 82 IV iWARP RDMA...
Page 99: ...Chapter V iSER Chelsio Unified Wire for Linux 99 V iSER...
Page 107: ...Chapter VI WD UDP Chelsio Unified Wire for Linux 107 VI WD UDP...
Page 119: ...Chapter VII WD TOE Chelsio Unified Wire for Linux 119 VII WD TOE...
Page 125: ...Chapter VIII NVMe oF Chelsio Unified Wire for Linux 125 VIII NVMe oF...
Page 198: ...Chapter XII Crypto Offload Chelsio Unified Wire for Linux 198 XII Crypto Offload...
Page 230: ...Chapter XIV FCoE Full Offload Initiator Chelsio Unified Wire for Linux 230...
Page 235: ...Chapter XV Offload Bonding Chelsio Unified Wire for Linux 235 XV Offload Bonding...
Page 258: ...Chapter XVIII Offload IPv6 Chelsio Unified Wire for Linux 258 XVIII Offload IPv6...
Page 311: ...Chapter XXII Ring Backbone Chelsio Unified Wire for Linux 311 XXII Ring Backbone...
Page 317: ...Chapter XXIII Traffic Management Chelsio Unified Wire for Linux 317 XXIII Traffic Management...
Page 329: ...Chapter XXIV DPDK Driver Chelsio Unified Wire for Linux 329 XXIV DPDK Driver...
Page 347: ...Chapter XXV Unified Boot Chelsio Unified Wire for Linux 347 XXV Unified Boot...
Page 357: ...Chapter XXV Unified Boot Chelsio Unified Wire for Linux 357 iv Boot to EFI Shell...
Page 427: ...Chapter XXVI Appendix A Chelsio Unified Wire for Linux 427 XXVI Appendix A...