Usage; Non-Offloaded Connections - 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

Usage

4.1.

Non-Offloaded Connections

The following example demonstrates the method to rate limit all TCP connections on class 0 to a
rate of 300 Mbps for Non-offload connections:
i.
Load the network driver and bring up the interface:
[root@host~]# modprobe cxgb4
[root@host~]# ifconfig eth0 up
ii.
Bind connections with destination IP address 192.168.5.3 to NIC TX queue 3
[root@host~]# tc qdisc add dev eth0 root handle 1: multiq
[root@host~]# tc filter add dev eth0 parent 1: protocol ip prio 1 u32
ip dst 192.168.5.3 action skbedit queue_mapping 3
iii. Bind the NIC TX queue to class 0
[root@host~]# cxgbtool eth0 sched-queue 3 0
iv. Set the appropriate rule for class 0
[root@host~]# cxgbtool eth0 sched-class params
mode class
rate-unit bits
300000
pkt-size 1460
4.2.
Offloaded Connections
The following example demonstrates the method to rate limit all TCP connections on class 0 to a
rate of 300 Mbps for offloaded connections:
i.
Load the TOE driver and bring up the interface
[root@host~]# modprobe t4_tom
[root@host~]# ifconfig eth0 up
Chelsio Unified Wire for Linux
rate-mode absolute channel 0
type packet
level cl-rl
class 0 max-rate
match
326

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

This manual is also suitable for:

Terminator 6

Table of Contents