numam-dpdk/drivers/net/cxgbe/base
Karra Satwik 536db938a4 net/cxgbe: add devargs to control filtermode and filtermask
Apart from the 4-tuple (IP src/dst addresses and TCP/UDP src/dst
port addresses), there are only 40-bits available to match other
fields in packet headers. Not all combinations of packet header
fields can fit in the 40-bit tuple.

Currently, the combination of packet header fields to match are
configured via filterMode for LETCAM filters and filterMask for
HASH filters in firmware config files (t5/t6-config.txt). So, add
devargs to allow User to dynamically select the filterMode and
filterMask combination during runtime, without having to modify the
firmware config files and reflashing them onto the adapter. A table
of supported combinations is maintained by the driver to internally
translate the User specified devargs combination to hardware's internal
format before writing the requested combination to hardware

Signed-off-by: Karra Satwik <kaara.satwik@chelsio.com>
Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
2020-03-18 15:29:39 +01:00
..
adapter.h net/cxgbe: add devargs to control filtermode and filtermask 2020-03-18 15:29:39 +01:00
common.h net/cxgbe: use firmware API for validating filter spec 2020-03-18 15:29:39 +01:00
t4_chip_type.h net/cxgbe: convert to SPDX license tags 2018-03-30 14:08:44 +02:00
t4_hw.c net/cxgbe: use firmware API for validating filter spec 2020-03-18 15:29:39 +01:00
t4_hw.h net/cxgbe: implement flow query operation 2018-06-14 19:27:50 +02:00
t4_msg.h net/cxgbe: support flow API for source MAC rewrite 2020-03-18 15:29:39 +01:00
t4_pci_id_tbl.h net/cxgbe: update Chelsio T5/T6 NIC device ids 2019-04-19 14:51:55 +02:00
t4_regs_values.h net/cxgbe: support matching VLAN via flow API 2019-10-07 15:00:57 +02:00
t4_regs.h net/cxgbe: support flow API for matching QinQ VLAN 2020-03-18 10:21:42 +01:00
t4_tcb.h net/cxgbe: support flow API for source MAC rewrite 2020-03-18 15:29:39 +01:00
t4fw_interface.h net/cxgbe: add devargs to control filtermode and filtermask 2020-03-18 15:29:39 +01:00
t4vf_hw.c net/cxgbe: define symbols only when not available 2018-12-21 16:22:41 +01:00
t4vf_hw.h net/cxgbe: add base for enabling VF ports 2018-03-30 14:08:44 +02:00