]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
netdev-genl: Add an XSK attribute to queues
authorJoe Damato <jdamato@fastly.com>
Fri, 14 Feb 2025 21:12:30 +0000 (21:12 +0000)
committerJakub Kicinski <kuba@kernel.org>
Tue, 18 Feb 2025 00:46:03 +0000 (16:46 -0800)
commitdf524c8f57711a3fe54abb087794819840005fd0
treed83b425bee255c8a642fbfc8be9173bb6c961d27
parenta127c18462ea619a1ace1f00540807e009dbf225
netdev-genl: Add an XSK attribute to queues

Expose a new per-queue nest attribute, xsk, which will be present for
queues that are being used for AF_XDP. If the queue is not being used for
AF_XDP, the nest will not be present.

In the future, this attribute can be extended to include more data about
XSK as it is needed.

Signed-off-by: Joe Damato <jdamato@fastly.com>
Suggested-by: Jakub Kicinski <kuba@kernel.org>
Link: https://patch.msgid.link/20250214211255.14194-3-jdamato@fastly.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/netlink/specs/netdev.yaml
include/uapi/linux/netdev.h
net/core/netdev-genl.c
tools/include/uapi/linux/netdev.h