freebsd-nq/sys/dev/cxgbe/firmware
Navdeep Parhar 89f651e704 cxgbe(4): Add support for hash filters.
These filters reside in the card's memory instead of its TCAM and can be
configured via a new "hashfilter" subcommand in cxgbetool.  Hash and
normal TCAM filters can be used together.  The hardware does an
exact-match of packet fields for hash filters, unlike the masked match
performed for TCAM filters.  Any T5/T6 card with memory can support at
least half a million hash filters.  The sample config file with the
driver configures 512K of these, it is possible to double this to 1
million+ in some cases.

The chip does an exact-match of fields of incoming datagrams with hash
filters and performs the action configured for the filter if it matches.
The fields to match are specified in a "filter mask" in the firmware
config file.  The filter mask always includes the 5-tuple (sip, dip,
sport, dport, ipproto).  It can, optionally, also include any subset of
the filter mode (see filterMode and filterMask in the firmware config
file).

For example:
filterMode = fragmentation, mpshittype, protocol, vlan, port, fcoe
filterMask = protocol, port, vlan

Exact values of the 5-tuple, the physical port, and VLAN tag would have
to be provided while setting up a hash filter with the chip
configuration above.

Hash filters support all actions supported by TCAM filters.  A packet
that hits a hash filter can be dropped, let through (with optional
steering to a specific queue or RSS region), switched out of another
port (with optional L2 rewrite of DMAC, SMAC, VLAN tag), or get NAT'ed.
(Support for some of these will show up in the driver in a follow-up
commit very shortly).

Sponsored by:	Chelsio Communications
2018-05-09 04:09:49 +00:00
..
t4fw_cfg_uwire.txt cxgbe(4): Update the T4, T5, and T6 firmwares to 1.16.45.0. 2017-05-23 23:40:17 +00:00
t4fw_cfg.txt
t4fw_interface.h cxgbe(4): Update all firmwares to 1.19.1.0. 2018-05-05 20:16:08 +00:00
t4fw-1.19.1.0.bin.uu cxgbe(4): Update all firmwares to 1.19.1.0. 2018-05-05 20:16:08 +00:00
t5fw_cfg_fpga.txt
t5fw_cfg_uwire.txt cxgbe(4): Update the T4, T5, and T6 firmwares to 1.16.45.0. 2017-05-23 23:40:17 +00:00
t5fw_cfg.txt
t5fw-1.19.1.0.bin.uu cxgbe(4): Update all firmwares to 1.19.1.0. 2018-05-05 20:16:08 +00:00
t6fw_cfg_fpga.txt
t6fw_cfg_hashfilter.txt cxgbe(4): Add support for hash filters. 2018-05-09 04:09:49 +00:00
t6fw_cfg_uwire.txt cxgbe(4): Update all firmwares to 1.19.1.0. 2018-05-05 20:16:08 +00:00
t6fw_cfg.txt Support for TLS offload of TOE connections on T6 adapters. 2018-03-13 23:05:51 +00:00
t6fw-1.19.1.0.bin.uu cxgbe(4): Update all firmwares to 1.19.1.0. 2018-05-05 20:16:08 +00:00