linux/drivers/net/ethernet/broadcom
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
..
bnx2x broadcom: Mark expected switch fall-throughs 2019-01-23 09:06:36 -08:00
bnxt flow_offload: add flow_rule and flow_match structures and use them 2019-02-06 10:38:25 -08:00
genet net: phy: fixed-phy: Drop GPIO from fixed_phy_add() 2019-02-04 18:33:36 -08:00
b44.c net: b44: replace dev_kfree_skb_xxx by dev_consume_skb_xxx for drop profiles 2019-01-29 10:11:42 -08:00
b44.h
bcm63xx_enet.c cross-tree: phase out dma_zalloc_coherent() 2019-01-08 07:58:37 -05:00
bcm63xx_enet.h
bcmsysport.c cross-tree: phase out dma_zalloc_coherent() 2019-01-08 07:58:37 -05:00
bcmsysport.h net: systemport: Simplify queue mapping logic 2018-11-06 15:39:48 -08:00
bgmac-bcma-mdio.c
bgmac-bcma.c
bgmac-platform.c
bgmac.c net: phy: fixed-phy: Drop GPIO from fixed_phy_add() 2019-02-04 18:33:36 -08:00
bgmac.h
bnx2.c cross-tree: phase out dma_zalloc_coherent() 2019-01-08 07:58:37 -05:00
bnx2.h
bnx2_fw.h
cnic.c cnic: remove use of VLAN_TAG_PRESENT 2018-11-08 19:49:31 -08:00
cnic.h
cnic_defs.h
cnic_if.h
Kconfig bnxt_en: Add hwmon sysfs support to read temperature 2018-08-05 17:08:26 -07:00
Makefile
sb1250-mac.c net: broadcom: fix return type of ndo_start_xmit function 2018-09-19 21:17:58 -07:00
tg3.c broadcom: Mark expected switch fall-throughs 2019-01-23 09:06:36 -08:00
tg3.h