summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorJohn Hurley <john.hurley@netronome.com>2018-06-26 00:30:07 +0300
committerDavid S. Miller <davem@davemloft.net>2018-06-26 17:21:33 +0300
commit0efd1b3a13bfabc8b70e79bd22aa413d6d2ad7a5 (patch)
tree53702bd0fddc409850b1ca822b9c6536882d3ff5 /tools/perf/scripts/python/call-graph-from-sql.py
parent31533cba4327aefeafe8a7d57de0c737a3b2faa6 (diff)
downloadlinux-0efd1b3a13bfabc8b70e79bd22aa413d6d2ad7a5.tar.xz
net: sched: cls_matchall: implement offload tcf_proto_op
Add the reoffload tcf_proto_op in matchall to generate an offload message for each filter in the given tcf_proto. Call the specified callback with this new offload message. The function only returns an error if the callback rejects adding a 'hardware only' rule. Ensure matchall flags correctly report if the rule is in hw by keeping a reference counter for the number of instances of the rule offloaded. Only update the flag when this counter changes from or to 0. Signed-off-by: John Hurley <john.hurley@netronome.com> Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions