OSDN Git Service

xsk: Improve documentation for AF_XDP
authorMagnus Karlsson <magnus.karlsson@intel.com>
Mon, 21 Oct 2019 08:57:04 +0000 (10:57 +0200)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 23 Oct 2019 17:14:17 +0000 (10:14 -0700)
commite0e4f8e938c48b7c5377661fa3e4738901e6a19b
tree9a12d170a8572a83a96913e216003d53805fcef0
parent45e587b5e8e5f24dd2393f96546b604a38612249
xsk: Improve documentation for AF_XDP

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
Documentation/networking/af_xdp.rst