aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorDaniel Borkmann <[email protected]>2023-10-09 11:26:55 +0200
committerJakub Kicinski <[email protected]>2023-10-16 10:07:37 -0700
commit39d08b91646d83e87f7cbcd846b3ef33b1a53b79 (patch)
tree348b1c78c183e5ea3fee011849e3ce1ca82a5a9d /tools/perf/scripts/python/net_dropmonitor.py
parent54a59aed395ce0f4177b5212e5746a6462de3ad9 (diff)
net, sched: Add tcf_set_drop_reason for {__,}tcf_classify
Add an initial user for the newly added tcf_set_drop_reason() helper to set the drop reason for internal errors leading to TC_ACT_SHOT inside {__,}tcf_classify(). Right now this only adds a very basic SKB_DROP_REASON_TC_ERROR as a generic fallback indicator to mark drop locations. Where needed, such locations can be converted to more specific codes, for example, when hitting the reclassification limit, etc. Signed-off-by: Daniel Borkmann <[email protected]> Cc: Jamal Hadi Salim <[email protected]> Cc: Victor Nogueira <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions