]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
xsk: Improve documentation for AF_XDP
authorMagnus Karlsson <magnus.karlsson@intel.com>
Mon, 21 Oct 2019 08:57:04 +0000 (10:57 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Jul 2023 06:37:23 +0000 (08:37 +0200)
commit9347e432297ec007a9907f85600663afb2caed43
tree1cf65f034df7e33a4413084a019725bc3e9216fb
parente63dc31b9452cc0bcb2d3049baca4de4412fc12c
xsk: Improve documentation for AF_XDP

[ Upstream commit e0e4f8e938c48b7c5377661fa3e4738901e6a19b ]

Added sections on all the bind flags, libbpf, all the setsockopts and
all the getsockopts. Also updated the document to reflect the latest
features and to correct some spelling errors.

v1 -> v2:
* Updated XDP program with latest BTF map format
* Added one more FAQ entry
* Some minor edits and corrections

v2 -> v3:
* Simplified XDP_SHARED_UMEM example XDP program

Signed-off-by: Magnus Karlsson <magnus.karlsson@intel.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/1571648224-16889-1-git-send-email-magnus.karlsson@intel.com
Stable-dep-of: f7306acec9aa ("xsk: Honor SO_BINDTODEVICE on bind")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Documentation/networking/af_xdp.rst