From 1807d1024bd83c43af664d250c9afb2e84833e75 Mon Sep 17 00:00:00 2001 From: Jesper Dangaard Brouer Date: Fri, 5 Nov 2021 13:40:20 +0100 Subject: [PATCH] AF_XDP-interaction: Add README.org I keep forgetting the API docs, so lets add links in the README. Signed-off-by: Jesper Dangaard Brouer --- AF_XDP-interaction/README.org | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 AF_XDP-interaction/README.org diff --git a/AF_XDP-interaction/README.org b/AF_XDP-interaction/README.org new file mode 100644 index 0000000..3cae701 --- /dev/null +++ b/AF_XDP-interaction/README.org @@ -0,0 +1,13 @@ +#+Title: How to transfer info from XDP-prog to AF_XDP + +This BPF-example show how use BTF to create a communication channel +between XDP-prog (running kernel-side) and AF_XDP user-space process. + +* AF_XDP documentation + +In kernel [[https://www.kernel.org/doc/html/latest/networking/af_xdp.html][documentation for AF_XDP]]. + +XDP-tools also contain documentation in [[https://github.com/xdp-project/xdp-tools/blob/master/lib/libxdp/README.org#using-af_xdp-sockets][libxdp for AF_XDP]], explaining +how to use the API, and the difference between the control-path and +data-path APIs. +