Hash/Ddr Filters; Creating Filter Rules - Chelsio Communications Chelsio T5 Installation And User Manual

Unified wire for linux
Hide thumbs Also See for Chelsio T5:
Table of Contents

Advertisement

Chapter XVIII. Classification and Filtering

3. Hash/DDR Filters

The default (Unified Wire) configuration tuning option allows you to create LE-TCAM filters,
which has a limit of 496 filter rules. If you wish to create more, select T5 Hash Filter
configuration tuning option during installation which allows you to create HASH/DDR filters with
a capacity of ~0.5 million filter rules.
Creating Hash/DDR Filters is currently supported only on T5 adapters.
Note
3.1.

Creating Filter Rules

Network driver (cxgb4) must be installed and loaded before setting the filter rule.
If you haven't done already, run the Unified Wire Installer with the T5 Hash Filter
i.
configuration tuning option to install the Network Driver.
ii.
Load the network driver with DDR filters support :
[root@host]# modprobe cxgb4 use_ddr_filters=1
iii.
Now, create filter rules using cxgbtool:
[root@host]# cxgbtool ethX filter <index> action [pass/drop/switch] fip
<source ip of incoming packet> lip <destination ip of incoming packet> fport
<source port> lport <destination port> hitcnts 1 cap maskless
Where,
ethX
: Chelsio interface
index : positive integer set as filter id
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
"source IP", "destination IP", "source port" and "destination port" are mandatory
Note
parameters. "cap maskless" parameter should be appended in order to create
Hash/DDR filter rules. Otherwise the above command will create LE-TCAM filter
rules. Filter index provided for creating DDR filter is ignored.
Chelsio T5/T4 Unified Wire For Linux
Page 247

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Chelsio T5 and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Chelsio t4

Table of Contents