linux_dsm_epyc7002/drivers/net/ethernet/qlogic/qede
Pablo Neira Ayuso 37c5d3efd7 qede: use ethtool_rx_flow_rule() to remove duplicated parser code
The qede driver supports for ethtool_rx_flow_spec and flower, both
codebases look very similar.

This patch uses the ethtool_rx_flow_rule() infrastructure to remove the
duplicated ethtool_rx_flow_spec parser and consolidate ACL offload
support around the flow_rule infrastructure.

Furthermore, more code can be consolidated by merging
qede_add_cls_rule() and qede_add_tc_flower_fltr(), these two functions
also look very similar.

This driver currently provides simple ACL support, such as 5-tuple
matching, drop policy and queue to CPU.

Drivers that support more features can benefit from this infrastructure
to save even more redundant codebase.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-02-06 10:38:26 -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 qede: use ethtool_rx_flow_rule() to remove duplicated parser code 2019-02-06 10:38:26 -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: Add support for PTP resource locking. 2017-04-27 16:51:34 -04:00
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