Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9347e432 authored by Magnus Karlsson's avatar Magnus Karlsson Committed by Greg Kroah-Hartman
Browse files

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: default avatarMagnus Karlsson <magnus.karlsson@intel.com>
Signed-off-by: default avatarAlexei 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: default avatarSasha Levin <sashal@kernel.org>
parent e63dc31b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment