diff options
| author | Martin Karsten <mkarsten@uwaterloo.ca> | 2024-11-09 08:02:32 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2024-11-12 05:45:06 +0300 |
| commit | 3fcbecbdeb048dfd1bea824f4276717fed02d10e (patch) | |
| tree | 245b673f4943209241dcdfe44603cd0aadf96596 /rust/helpers | |
| parent | 5dc51ec86df6e2214d8398079c1e31736593ab53 (diff) | |
| download | linux-3fcbecbdeb048dfd1bea824f4276717fed02d10e.tar.xz | |
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 'rust/helpers')
0 files changed, 0 insertions, 0 deletions
