Listing Filter Rules - Chelsio Communications Terminator Series Installation And User Manual

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

Advertisement

Chapter XX. Classification and Filtering
The above filter rule will drop all ingress packets from source IP 192.168.1.5. Remaining packets
will be sent to the host.
pass action
[root@host~]# cxgbtool ethX filter 100 action pass lport 10001 fport 355
queue 2
The above filter rule will pass all ingress packets that match destination port 10001 and source
port 355 to ingress queue 2 for load balancing. Remaining packets will be sent to the host.
switch action
[root@host~]# cxgbtool ethX filter 100 action switch iport 0 eport 1 ivlan 3
The above filter rule will route all ingress packets that match VLAN id 3 from port 0 of Chelsio
adapter to port 1. Remaining packets will be sent to the host.
prio option
To filter offloaded ingress packets, use the
[root@host~]# cxgbtool ethx filter <index> action <pass/drop/switch> prio 1
Where index is a positive integer set as filter id. 0-495 for T5 adapters and 0-63 for T6 adapters.
For more information on additional parameters, refer cxgbtool manual by running
Note
man cxgbtool
the
2.3.

Listing Filter Rules

To list the filters set, run the following command:
[root@host~]# cxgbtool ethX filter show
OR
[root@host~]# cat /sys/kernel/debug/cxgb4/<bus-id>/filters
Chelsio Unified Wire for Linux
prio
argument with the above command:
command.
279

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