Configuring Traffic Management - Chelsio Communications Terminator Series Installation And User Manual

Unified wire for linux
Hide thumbs Also See for Terminator Series:
Table of Contents

Advertisement

Chapter XXIII. Traffic Management
3.2.

Configuring Traffic Management

For Non-offloaded connections
Traffic Management of non-offloaded connections is a 2-step process. In the first step bind
connections to indicated NIC TX queue using tc utility from iproute2-3.9.0 package. In the second
step bind the indicated NIC TX queue to the specified TC Scheduler class using the cxgbtool
utility.
i.
Load the network driver and bring up the interface:
[root@host~]# modprobe cxgb4
[root@host~]# ifconfig ethX up
ii. Bind connections to queues:
[root@host~]# tc qdisc add dev ethX root handle 1: multiq
[root@host~]# tc filter add dev ethX parent 1: protocol ip prio 1 u32
ip dst <IP address of destination> action skbedit queue_mapping <queue>
For additional binding options, run [root@host~]# man tc
Note
iii. Now, bind the NIC TX queue with traffic class:
[root@host~]# cxgbtool ethX sched-queue <queue> <class>
Here,
ethX
: Chelsio interface
queue : NIC TX queue
class
: TX scheduler class
If the TX queue is all, * or any negative value, the binding will apply to all of the TX
Note
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.
Chelsio Unified Wire for Linux
match
323

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Terminator Series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Terminator 6

Table of Contents