Chapter XX. Classification and Filtering
LE-TCAM Filters
The default (Unified Wire) configuration tuning option allows you to create LE-TCAM filters, which
has a limit of 496 for T5, and 560 for T6 adapters. For T5 adapters, all available filter indices can
be optionally configured as high priority. In case of T6 adapters, the following filter indices are
available:
•
High priority indices (PRIO): 0 to X
•
Normal indices: X+1 to X+1+495
Where X is the upper limit in the HPFTID range, mentioned in the tids file
(/sys/kernel/debug/cxgb4/<bus-id>/tids).
For example, if the upper hpftid limit is 63, then high priority indices will be from 0 to 63 and normal
indices will be from 64 to 559. It is mandatory to add prio 1 option when creating high priority filter
rules.
T6 SO adapters currently do not support high priority indices. Therefore only 496
Note
LE-TCAM filters can be created.
2.1.
Configuration
Filter Modes
The Classification and Filtering feature is configured by specifying the filter modes in the firmware
configuration file (t6-config.txt for T6 adapters; t5-config.txt for T5 adapters.) located in
/lib/firmware/cxgb4/ .
Adapter initialization will fail if filterMask contains a tuple which is not present in filterMode.
The following filter tuples are present in filter modes:
fcoe
: Fibre Channel over Ethernet frames
port
: Packet ingress physical port number
vnic_id
:VF ID in MPS TCAM (Currently not supported) and outer VLAN ID,
Encapsulation
vlan
: Inner VLAN ID
Chelsio Unified Wire for Linux
275
Need help?
Do you have a question about the Terminator Series and is the answer not in the manual?
Questions and answers