linux/drivers/net/ethernet/qlogic/qede
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 qed*: qede_roce.[ch] -> qede_rdma.[ch] 2017-06-20 12:34:07 -04:00
qede_dcbnl.c qede: Fix sparse warnings 2017-05-24 15:17:19 -04:00
qede_ethtool.c qede - Add a statistic for a case where driver drops tx packet due to memory allocation failure. 2018-11-29 10:41:58 -08:00
qede_filter.c flow_offload: add flow_rule and flow_match structures and use them 2019-02-06 10:38:25 -08:00
qede_fp.c qede - Add a statistic for a case where driver drops tx packet due to memory allocation failure. 2018-11-29 10:41:58 -08:00
qede_main.c qede: Error recovery process 2019-01-28 10:58:41 -08:00
qede_ptp.c qede: Simplify the usage of qede-flags. 2018-11-27 16:17:19 -08:00
qede_ptp.h
qede_rdma.c qede: Error recovery process 2019-01-28 10:58:41 -08:00
qede.h qede: Error recovery process 2019-01-28 10:58:41 -08:00