diff options
author | Martin Karsten <mkarsten@uwaterloo.ca> | 2024-11-09 05:02:32 +0000 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-11-11 18:45:06 -0800 |
commit | 3fcbecbdeb048dfd1bea824f4276717fed02d10e (patch) | |
tree | 245b673f4943209241dcdfe44603cd0aadf96596 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 5dc51ec86df6e2214d8398079c1e31736593ab53 (diff) |
net: Add control functions for irq suspension
The napi_suspend_irqs routine bootstraps irq suspension by elongating
the defer timeout to irq_suspend_timeout.
The napi_resume_irqs routine effectively cancels irq suspension by
forcing the napi to be scheduled immediately.
Signed-off-by: Martin Karsten <mkarsten@uwaterloo.ca>
Co-developed-by: Joe Damato <jdamato@fastly.com>
Signed-off-by: Joe Damato <jdamato@fastly.com>
Tested-by: Joe Damato <jdamato@fastly.com>
Tested-by: Martin Karsten <mkarsten@uwaterloo.ca>
Acked-by: Stanislav Fomichev <sdf@fomichev.me>
Reviewed-by: Sridhar Samudrala <sridhar.samudrala@intel.com>
Link: https://patch.msgid.link/20241109050245.191288-3-jdamato@fastly.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions