aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/Makefile
diff options
context:
space:
mode:
authorAlexei Starovoitov <ast@kernel.org>2019-11-10 19:30:46 -0800
committerAlexei Starovoitov <ast@kernel.org>2019-11-10 19:30:51 -0800
commit0d2ec5b51dc6925f07bff9f1352970d5fc8f297f (patch)
tree4dbf28947620f4bc3d3c1f26c5bbf1006823979d /tools/testing/selftests/bpf/Makefile
parentMerge branch 'map-pinning' (diff)
parentxsk: Extend documentation for Rx|Tx-only sockets and shared umems (diff)
downloadlinux-dev-0d2ec5b51dc6925f07bff9f1352970d5fc8f297f.tar.xz
linux-dev-0d2ec5b51dc6925f07bff9f1352970d5fc8f297f.zip
Merge branch 'share-umem'
Magnus Karlsson says: ==================== This patch set extends libbpf and the xdpsock sample program to demonstrate the shared umem mode (XDP_SHARED_UMEM) as well as Rx-only and Tx-only sockets. This in order for users to have an example to use as a blue print and also so that these modes will be exercised more frequently. Note that the user needs to supply an XDP program with the XDP_SHARED_UMEM mode that distributes the packets over the sockets according to some policy. There is an example supplied with the xdpsock program, but there is no default one in libbpf similarly to when XDP_SHARED_UMEM is not used. The reason for this is that I felt that supplying one that would work for all users in this mode is futile. There are just tons of ways to distribute packets, so whatever I come up with and build into libbpf would be wrong in most cases. This patch has been applied against commit 30ee348c1267 ("Merge branch 'bpf-libbpf-fixes'") Structure of the patch set: Patch 1: Adds shared umem support to libbpf Patch 2: Shared umem support and example XPD program added to xdpsock sample Patch 3: Adds Rx-only and Tx-only support to libbpf Patch 4: Uses Rx-only sockets for rxdrop and Tx-only sockets for txpush in the xdpsock sample Patch 5: Add documentation entries for these two features ==================== Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/Makefile')
0 files changed, 0 insertions, 0 deletions