linux/drivers/net/ethernet/intel/i40e
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
..
i40e.h i40e: Add support FEC configuration for Fortville 25G 2019-01-22 07:38:38 -08:00
i40e_adminq.c i40e: Add capability flag for stopping FW LLDP 2018-11-14 10:56:33 -08:00
i40e_adminq.h
i40e_adminq_cmd.h i40e: Add capability flag for stopping FW LLDP 2018-11-14 10:56:33 -08:00
i40e_alloc.h
i40e_client.c
i40e_client.h
i40e_common.c i40e: Allow disabling FW LLDP on X722 devices 2018-11-14 10:56:33 -08:00
i40e_dcb.c
i40e_dcb.h
i40e_dcb_nl.c
i40e_debugfs.c i40e: remove debugfs tx_timeout support 2019-01-22 07:55:22 -08:00
i40e_devids.h
i40e_diag.c
i40e_diag.h
i40e_ethtool.c i40e: clean up several indentation issues 2019-01-22 08:42:03 -08:00
i40e_hmc.c
i40e_hmc.h
i40e_lan_hmc.c
i40e_lan_hmc.h
i40e_main.c flow_offload: add flow_rule and flow_match structures and use them 2019-02-06 10:38:25 -08:00
i40e_nvm.c
i40e_osdep.h
i40e_prototype.h i40e: Add AQ command for rearrange NVM structure 2018-08-07 12:20:45 -07:00
i40e_ptp.c i40e: extend PTP gettime function to read system clock 2018-12-20 12:06:35 -08:00
i40e_register.h
i40e_status.h
i40e_trace.h
i40e_txrx.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2018-12-20 11:53:36 -08:00
i40e_txrx.h i40e: add AF_XDP zero-copy Rx support 2018-08-29 12:25:53 -07:00
i40e_txrx_common.h i40e: DRY rx_ptype handling code 2018-12-12 15:46:02 -08:00
i40e_type.h i40e: Add capability flag for stopping FW LLDP 2018-11-14 10:56:33 -08:00
i40e_virtchnl_pf.c i40e: clean up several indentation issues 2019-01-22 08:42:03 -08:00
i40e_virtchnl_pf.h i40e: Use correct shift for VLAN priority 2018-11-14 10:56:33 -08:00
i40e_xsk.c i40e: Remove umem from VSI 2019-01-22 06:57:04 -08:00
i40e_xsk.h i40e: add AF_XDP zero-copy Tx support 2018-08-29 12:25:53 -07:00
Makefile i40e: add AF_XDP zero-copy Rx support 2018-08-29 12:25:53 -07:00