Chelsio Communications Chelsio T5 Guía de usuario Pagina 220

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 452
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 219
XVI. Traffic Management
Chelsio T5/T4 Unified Wire For Linux Page 220
5. Usage
5.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:
1. Load the Network driver in NIC mode.
[root@host]# modprobe cxgb4
2. 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 match
ip dst 192.168.5.3 action skbedit queue_mapping 3
3. Bind the NIC TX queue to class 0
[root@host]# cxgbtool eth0 sched-queue 3 0
4. Set the appropriate rule for class 0
[root@host]# cxgbtool eth0 sched-class params type packet level cl-rl
mode class rate-unit bits rate-mode absolute channel 0 class 0 max-rate
300000 pkt-size 1460
5.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:
1. Load the Network driver in TOE mode
[root@host]# modprobe t4_tom
Vista de pagina 219
1 2 ... 215 216 217 218 219 220 221 222 223 224 225 ... 451 452

Comentarios a estos manuales

Sin comentarios