1
0
Fork 0
alistair23-linux/drivers/net/ethernet/chelsio/cxgb4
Pablo Neira Ayuso 8f2566225a flow_offload: add flow_rule and flow_match structures and use them
This patch wraps the dissector key and mask - that flower uses to
represent the matching side - around the flow_match structure.

To avoid a follow up patch that would edit the same LoCs in the drivers,
this patch also wraps this new flow match structure around the flow rule
object. This new structure will also contain the flow actions in follow
up patches.

This introduces two new interfaces:

	bool flow_rule_match_key(rule, dissector_id)

that returns true if a given matching key is set on, and:

	flow_rule_match_XYZ(rule, &match);

To fetch the matching side XYZ into the match container structure, to
retrieve the key and the mask with one single call.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-02-06 10:38:25 -08:00
..
Makefile cxgb4: fix thermal zone build error 2018-11-15 09:49:07 -08:00
clip_tbl.c cxgb4: clip_tbl: Use struct_size() in kvzalloc() 2019-01-29 10:55:02 -08:00
clip_tbl.h drivers, net, ethernet: convert clip_entry.refcnt from atomic_t to refcount_t 2017-10-22 02:22:38 +01:00
cudbg_common.c cxgb4: update dump collection logic to use compression 2018-01-19 14:56:32 -05:00
cudbg_entity.h cxgb4: collect hardware queue descriptors 2018-09-03 22:10:37 -07:00
cudbg_if.h cxgb4: collect hardware queue descriptors 2018-09-03 22:10:37 -07:00
cudbg_lib.c net: chelsio: Add a missing check on cudg_get_buffer 2018-12-27 16:18:41 -08:00
cudbg_lib.h cxgb4: collect hardware queue descriptors 2018-09-03 22:10:37 -07:00
cudbg_lib_common.h cxgb4: use zlib deflate to compress firmware dump 2018-01-19 14:56:32 -05:00
cudbg_zlib.c cxgb4: properly initialize variables 2018-01-24 10:56:59 -05:00
cudbg_zlib.h cxgb4: enable ZLIB_DEFLATE when building cxgb4 2018-01-24 10:56:59 -05:00
cxgb4.h cxgb4/cxgb4vf: Program hash region for {t4/t4vf}_change_mac() 2019-02-03 11:08:36 -08:00
cxgb4_cudbg.c cxgb4: collect hardware queue descriptors 2018-09-03 22:10:37 -07:00
cxgb4_cudbg.h cxgb4: collect hardware dump in second kernel 2018-05-14 13:46:05 -04:00
cxgb4_dcb.c cxgb4: Use proper enum in cxgb4_dcb_handle_fw_update 2018-10-02 22:30:26 -07:00
cxgb4_dcb.h cxgb4: Use proper enum in IEEE_FAUX_SYNC 2018-10-02 22:30:52 -07:00
cxgb4_debugfs.c cxgb4: remove DEFINE_SIMPLE_DEBUGFS_FILE() 2018-12-15 11:21:22 -08:00
cxgb4_debugfs.h cxgb4: remove DEFINE_SIMPLE_DEBUGFS_FILE() 2018-12-15 11:21:22 -08:00
cxgb4_ethtool.c cxgb4/cxgb4vf: Link management changes 2019-01-22 20:41:48 -08:00
cxgb4_fcoe.c
cxgb4_fcoe.h
cxgb4_filter.c cxgb4: mk_act_open_req() buggers ->{local, peer}_ip on big-endian hosts 2018-08-07 12:33:58 -07:00
cxgb4_filter.h cxgb4: add support to create hash-filters via tc-flower offload 2017-11-01 22:06:03 +09:00
cxgb4_main.c cxgb4/cxgb4vf: Program hash region for {t4/t4vf}_change_mac() 2019-02-03 11:08:36 -08:00
cxgb4_ptp.c net: cxgb4: fix various indentation issues 2019-01-10 09:30:49 -05:00
cxgb4_ptp.h cxgb4: time stamping interface for PTP 2017-07-05 09:21:54 +01:00
cxgb4_tc_flower.c flow_offload: add flow_rule and flow_match structures and use them 2019-02-06 10:38:25 -08:00
cxgb4_tc_flower.h cxgb4: convert flower table to use rhashtable 2017-11-01 22:06:03 +09:00
cxgb4_tc_u32.c cxgb4: cxgb4_tc_u32: use struct_size() in kvzalloc() 2019-01-29 10:55:25 -08:00
cxgb4_tc_u32.h net: sched: push cls related args into cls_common structure 2017-08-07 09:42:37 -07:00
cxgb4_tc_u32_parse.h
cxgb4_thermal.c cxgb4: Add thermal zone support 2018-10-09 11:16:28 -07:00
cxgb4_uld.c net: cxgb4: fix various indentation issues 2019-01-10 09:30:49 -05:00
cxgb4_uld.h cxgb4: fix the error path of cxgb4_uld_register() 2018-10-18 16:26:36 -07:00
l2t.c cxgb4/l2t: Use struct_size() in kvzalloc() 2019-01-16 21:11:09 -08:00
l2t.h
sched.c cxgb4: sched: use struct_size() in kvzalloc() 2019-02-01 15:12:29 -08:00
sched.h cxgb4: remove the unneeded locks 2018-10-03 09:34:52 -07:00
sge.c cross-tree: phase out dma_zalloc_coherent() 2019-01-08 07:58:37 -05:00
smt.c cxgb4: smt: use struct_size() in kvzalloc() 2019-02-01 15:12:29 -08:00
smt.h cxgb4: introduce SMT ops to prepare for SMAC rewrite support 2017-10-20 13:06:53 +01:00
srq.c libcxgb,cxgb4: use __skb_put_zero to simplfy code 2018-04-30 11:53:48 -04:00
srq.h cxgb4: Add support to initialise/read SRQ entries 2018-03-22 11:59:11 -04:00
t4_chip_type.h cxgb4: clean up init_one 2018-05-25 14:59:38 -04:00
t4_hw.c cxgb4/cxgb4vf: Link management changes 2019-01-22 20:41:48 -08:00
t4_hw.h cxgb4: RSS table is 4k for T6 2017-12-19 14:14:19 -05:00
t4_msg.h crypto/chelsio/chtls: macro correction in tx path 2018-12-14 13:39:39 -08:00
t4_pci_id_tbl.h cxgb4: Add new T6 PCI device ids 0x608a 2018-11-08 17:05:20 -08:00
t4_regs.h cxgb4: collect number of free PSTRUCT page pointers 2018-07-24 10:12:21 -07:00
t4_tcb.h cxgb4: add support to delete hash filter 2017-11-01 22:06:03 +09:00
t4_values.h cxgb4: Update IngPad and IngPack values 2017-03-22 10:53:49 -07:00
t4fw_api.h cxgb4: use new fw interface to get the VIN and smt index 2018-11-23 11:11:15 -08:00
t4fw_version.h cxgb4: update 1.20.8.0 as the latest firmware supported 2018-08-09 14:35:42 -07:00