Chelsio Communications Terminator series Installation And User Manual page 40

Wire for freebsd
Hide thumbs Also See for Terminator series:
Table of Contents

Advertisement

Chapter V. Classification and Filtering
action : Ingress packet disposition.
pass
: Ingress packets will be passed through set ingress queues.
switch : Ingress packets will be routed to an output port with optional header rewrite.
drop
: Ingress packets will be dropped.
In case of multiple filter rules, the rule with the lowest filter index takes higher
Note
priority.
2.2.1. Examples
Drop action
[root@host~]# cxgbetool t6nexY filter 0 action drop sip 192.168.1.5
The above filter rule will drop all ingress packets from IP 192.168.1.5
Pass action
[root@host~]# cxgbetool t6nexY filter 0 action pass sport 10001 dport 355
queue 2
The above filter rule will pass all ingress packets that match source port 10001 and destination
port 355 to the ingress queue with context id 2 for load balancing.
The context id for a particular ingress queue can be obtained using
Note
[root@host~]# sysctl dev.cxgbe.X.rxq.Y.cntxt_id
Switch action
[root@host~]# cxgbetool t6nexY filter 0 action switch iport 0 eport 1 vlan 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.
Chelsio Unified Wire for FreeBSD
39

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

Table of Contents