
Chapter XX. Classification and Filtering
Chelsio Unified Wire for Linux
286
Hash/DDR Filters
If you wish to create more filters, select
T5/T6 Hash Filter
configuration tuning option during
installation which allows you to create ~0.5 million filter rules. You can create both LE-TCAM and
Hash/DDR filters in this configuration.
Hash filters are created based on
filterMask
tuples in firmware configuration file (
t6-config.txt
for
T6 adapters;
t5-config.txt
for t5 adapters) located in
/lib/firmware/cxgb4/
.
filterMask
tuples should
be either subset of or equal to
filterMode
tuples.
Hash filters are exact match filters. Hence, when you enable more fields(tuples) in
filterMask
, you
must create a filter rule with exactly same tuples as mentioned in
filterMask
.
3.1.
Configuration
Filter Modes
The Classification and Filtering feature is configured by specifying the filter modes in the firmware
configuration file 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
vlan
: Inner VLAN ID
tos
: Type of Service
protocol
: IP protocol number (ICMP=1, TCP=6, UDP=17, etc)
ethertype
: Layer 2 EtherType
macmatch
: MAC index in MPS TCAM
mpshittype
: MAC address "match type" (none,unicast,multicast,promiscuous,broadcast)
fragmentation
: Fragmented IP packets
Supported Filter Combinations
The following combination is set by default and packets will be matched accordingly:
•
For T5/T6:
filterMode = fragmentation, mpshittype, protocol, vlan, port, fcoe
T5/T6 SO adapters do not support Hash Filters as they are memory free. Up to 496
LE-TCAM filters are supported with Hash Filter configuration.
Note
Summary of Contents for Terminator 6
Page 1: ...Chelsio Unified Wire for Linux i...
Page 15: ...Chapter I Chelsio Unified Wire Chelsio Unified Wire for Linux 15 I Chelsio Unified Wire...
Page 51: ...Chapter II Network NIC TOE Chelsio Unified Wire for Linux 51 II Network NIC TOE...
Page 82: ...Chapter IV iWARP RDMA Chelsio Unified Wire for Linux 82 IV iWARP RDMA...
Page 99: ...Chapter V iSER Chelsio Unified Wire for Linux 99 V iSER...
Page 107: ...Chapter VI WD UDP Chelsio Unified Wire for Linux 107 VI WD UDP...
Page 119: ...Chapter VII WD TOE Chelsio Unified Wire for Linux 119 VII WD TOE...
Page 125: ...Chapter VIII NVMe oF Chelsio Unified Wire for Linux 125 VIII NVMe oF...
Page 198: ...Chapter XII Crypto Offload Chelsio Unified Wire for Linux 198 XII Crypto Offload...
Page 230: ...Chapter XIV FCoE Full Offload Initiator Chelsio Unified Wire for Linux 230...
Page 235: ...Chapter XV Offload Bonding Chelsio Unified Wire for Linux 235 XV Offload Bonding...
Page 258: ...Chapter XVIII Offload IPv6 Chelsio Unified Wire for Linux 258 XVIII Offload IPv6...
Page 311: ...Chapter XXII Ring Backbone Chelsio Unified Wire for Linux 311 XXII Ring Backbone...
Page 317: ...Chapter XXIII Traffic Management Chelsio Unified Wire for Linux 317 XXIII Traffic Management...
Page 329: ...Chapter XXIV DPDK Driver Chelsio Unified Wire for Linux 329 XXIV DPDK Driver...
Page 347: ...Chapter XXV Unified Boot Chelsio Unified Wire for Linux 347 XXV Unified Boot...
Page 357: ...Chapter XXV Unified Boot Chelsio Unified Wire for Linux 357 iv Boot to EFI Shell...
Page 427: ...Chapter XXVI Appendix A Chelsio Unified Wire for Linux 427 XXVI Appendix A...