summaryrefslogtreecommitdiff
path: root/Documentation/networking
diff options
context:
space:
mode:
authorJoe Damato <jdamato@fastly.com>2024-10-11 18:44:56 +0000
committerJakub Kicinski <kuba@kernel.org>2024-10-14 17:54:28 -0700
commitf15e3b3ddb9fab1c1731b6154e2cd6573fb54c4d (patch)
treeb76feee6469e23d1cf5c721a39ada184821d0583 /Documentation/networking
parentff1585e971392e70ba47433413ad28d7417debb8 (diff)
downloadlinux-f15e3b3ddb9fab1c1731b6154e2cd6573fb54c4d.tar.gz
linux-f15e3b3ddb9fab1c1731b6154e2cd6573fb54c4d.tar.bz2
linux-f15e3b3ddb9fab1c1731b6154e2cd6573fb54c4d.zip
net: napi: Make napi_defer_hard_irqs per-NAPI
Add defer_hard_irqs to napi_struct in preparation for per-NAPI settings. The existing sysfs parameter is respected; writes to sysfs will write to all NAPI structs for the device and the net_device defer_hard_irq field. Reads from sysfs show the net_device field. The ability to set defer_hard_irqs on specific NAPI instances will be added in a later commit, via netdev-genl. Signed-off-by: Joe Damato <jdamato@fastly.com> Reviewed-by: Eric Dumazet <edumazet@google.com> Reviewed-by: Jakub Kicinski <kuba@kernel.org> Link: https://patch.msgid.link/20241011184527.16393-2-jdamato@fastly.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'Documentation/networking')
-rw-r--r--Documentation/networking/net_cachelines/net_device.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/networking/net_cachelines/net_device.rst b/Documentation/networking/net_cachelines/net_device.rst
index 1b018ac35e9a..5a7388b2ab6f 100644
--- a/Documentation/networking/net_cachelines/net_device.rst
+++ b/Documentation/networking/net_cachelines/net_device.rst
@@ -186,4 +186,5 @@ struct dpll_pin* dpll_pin
struct hlist_head page_pools
struct dim_irq_moder* irq_moder
u64 max_pacing_offload_horizon
+u32 napi_defer_hard_irqs
=================================== =========================== =================== =================== ===================================================================================