aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorPablo Neira Ayuso <[email protected]>2019-02-02 12:50:54 +0100
committerDavid S. Miller <[email protected]>2019-02-06 10:38:26 -0800
commit37c5d3efd7f801091d1470d7682be474e0ea2bd0 (patch)
tree441511c832484209cdd2603bc5ca8ed4a3a33170 /tools/perf/scripts/python/stackcollapse.py
parent5bdf4120ae9b661b017266beeabdf4b8814b97fe (diff)
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions