Chelsio Communications Chelsio T5 Betriebsanweisung Seite 250

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 460
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 249
Chapter XVIII. Classification and Filtering
Chelsio T5/T4 Unified Wire For Linux Page 250
3.5. Hit Counters
For LE-TCAM filters, hit counters will work simply by adding hitcnts 1 parameter to the filter rule.
However, for Hash/DDR filters, you will have to make use of tracing feature and RSS queues.
Here’s a step-by-step guide to enable hit counters for Hash/DDR filter rules:
i. Enable tracing on T5 adapter.
[root@host]# cxgbtool ethX reg 0x09800=0x13
ii. Setup a trace filter
[root@host]# echo tx1 snaplen=40 > /proc/driver/cxgb4/<bus_id>/trace0
iii. Configure RSS Queue to send trace packets. Determine the RspQ ID of the queues by
looking at Trace QType in /sys/kernel/debug/cxgb4/<bus-id>/sge_qinfo file
[root@host]# cxgbtool ethX reg 0x0a00c=<Trace Queue0-RspQ ID>
The above step will trace all the packets transmitting from port1(tx1) to trace filter 0.
Multi-tracing
To enable hit counters for multiple chelsio ports in Tx/Rx direction enable Multi-tracing. Using
this we can configure 4 different RSS Queues separately corresponding to 4 trace-filters.
i. Enable Tracing as well as MultiRSSFilter
[root@host]# cxgbtool ethX reg 0x09800=0x33
ii. Setup a trace filter
[root@host]# echo tx0 snaplen=40 > /proc/driver/cxgb4/<bus_id>/trace0
Use “snaplen=60 in case of IPV6.
Note
Seitenansicht 249
1 2 ... 245 246 247 248 249 250 251 252 253 254 255 ... 459 460

Kommentare zu diesen Handbüchern

Keine Kommentare