
XVI. Traffic Management
Copyright ©2013.Chelsio Communications. All Rights Reserved. Page 211
4.2. Configuring Traffic Management
4.2.1. For Non-offloaded connections
Traffic Management of non-offloaded connections can be configured by binding the indicated
NIC TX queue to the specified TX Scheduler class using the cxgbtool utility.
1. Bring up the interface:
[root@host]# ifconfig ethX up
2. Now, bind the queues with traffic class:
[root@host]# cxgbtool ethX sched-queue <queue> <class>
Here,
ethX is the Chelsio interface
queue is the NIC TX queue
class is the TX scheduler class
4.2.2. 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
1. Bring up the interface:
[root@host]# ifconfig ethX up
If the TX queue is all, * or any negative value, the binding will apply to all of the TX
queues associated with the interface. If the class is unbind, clear or any negative
value, the TX queue(s) will be unbound from any current TX Scheduler Class
binding.
Comentários a estes Manuais