summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJoe Damato <jdamato@fastly.com>2024-10-11 20:45:01 +0200
committerJakub Kicinski <kuba@kernel.org>2024-10-15 02:54:29 +0200
commit1287c1ae0fc227e5acef11a539eb4e75646e31c7 (patch)
treea2d8919d2d1c7e46e231cd97c7c5136825098db3 /tools
parentnet: napi: Add napi_config (diff)
downloadlinux-1287c1ae0fc227e5acef11a539eb4e75646e31c7.tar.xz
linux-1287c1ae0fc227e5acef11a539eb4e75646e31c7.zip
netdev-genl: Support setting per-NAPI config values
Add support to set per-NAPI defer_hard_irqs and gro_flush_timeout. Signed-off-by: Joe Damato <jdamato@fastly.com> Reviewed-by: Jakub Kicinski <kuba@kernel.org> Reviewed-by: Eric Dumazet <edumazet@google.com> Link: https://patch.msgid.link/20241011184527.16393-7-jdamato@fastly.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools')
-rw-r--r--tools/include/uapi/linux/netdev.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/include/uapi/linux/netdev.h b/tools/include/uapi/linux/netdev.h
index cacd33359c76..e3ebb49f60d2 100644
--- a/tools/include/uapi/linux/netdev.h
+++ b/tools/include/uapi/linux/netdev.h
@@ -201,6 +201,7 @@ enum {
NETDEV_CMD_NAPI_GET,
NETDEV_CMD_QSTATS_GET,
NETDEV_CMD_BIND_RX,
+ NETDEV_CMD_NAPI_SET,
__NETDEV_CMD_MAX,
NETDEV_CMD_MAX = (__NETDEV_CMD_MAX - 1)