Chapter XX. Classification and Filtering
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 > /sys/kernel/debug/cxgb4/<bus_id>/trace0
iii. Configure the RSS Queue corresponding to trace0 filter configured above. 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 0x09808=<Trace-Queue0-RspQ ID>
iv. Similarly for other direction and for multiple ports run the follow commands:
[root@host~]# echo rx0 snaplen=40 > /sys/kernel/debug/cxgb4/<bus_id>/trace1
[root@host~]# echo tx1 snaplen=40 > /sys/kernel/debug/cxgb4/<bus_id>/trace2
[root@host~]# echo rx1 snaplen=40 > /sys/kernel/debug/cxgb4/<bus_id>/trace3
[root@host~]# cxgbtool ethX reg 0x09ff4=<Trace-Queue1-RspQ ID>
[root@host~]# cxgbtool ethX reg 0x09ffc=<Trace-Queue2-RspQ ID>
[root@host~]# cxgbtool ethX reg 0x0a004=<Trace-Queue3-RspQ ID>
Use "snaplen=60" in case of IPV6.
Note
Chelsio Unified Wire for Linux
295
Need help?
Do you have a question about the Terminator Series and is the answer not in the manual?
Questions and answers