[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180703211813.5645-1-daniel@iogearbox.net>
Date: Tue, 3 Jul 2018 23:18:13 +0200
From: Daniel Borkmann <daniel@...earbox.net>
To: davem@...emloft.net
Cc: daniel@...earbox.net, ast@...nel.org, netdev@...r.kernel.org
Subject: pull-request: bpf-next 2018-07-03
Hi David,
The following pull-request contains BPF updates for your *net-next* tree.
The main changes are:
1) Various improvements to bpftool and libbpf, that is, bpftool build
speed improvements, missing BPF program types added for detection
by section name, ability to load programs from '.text' section is
made to work again, and better bash completion handling, from Jakub.
2) Improvements to nfp JIT's map read handling which allows for optimizing
memcpy from map to packet, from Jiong.
3) New BPF sample is added which demonstrates XDP in combination with
bpf_perf_event_output() helper to sample packets on all CPUs, from Toke.
4) Add a new BPF kselftest case for tracking connect(2) BPF hooks
infrastructure in combination with TFO, from Andrey.
5) Extend the XDP/BPF xdp_rxq_info sample code with a cmdline option to
read payload from packet data in order to use it for benchmarking.
Also for '--action XDP_TX' option implement swapping of MAC addresses
to avoid drops on some hardware seen during testing, from Jesper.
Please consider pulling these changes from:
git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git
Thanks a lot!
----------------------------------------------------------------
The following changes since commit b1a5046b2497e39cea9eb585358f3749442fb3f7:
Merge branch 'Multipath-tests-for-tunnel-devices' (2018-06-27 10:42:13 +0900)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git
for you to fetch changes up to 0b9e3d543f9fa6a8abdac04f974176ee02312860:
Merge branch 'bpf-bpftool-libbpf-improvements' (2018-07-01 01:01:52 +0200)
----------------------------------------------------------------
Andrey Ignatov (1):
selftests/bpf: Test sys_connect BPF hooks with TFO
Daniel Borkmann (1):
Merge branch 'bpf-bpftool-libbpf-improvements'
Jakub Kicinski (8):
tools: bpftool: use correct make variable type to improve compilation time
tools: libbpf: add section names for missing program types
tools: libbpf: allow setting ifindex for programs and maps
tools: libbpf: restore the ability to load programs from .text section
tools: libbpf: don't return '.text' as a program for multi-function programs
tools: bpftool: drop unnecessary Author comments
tools: bpftool: add missing --bpffs to completions
tools: bpftool: deal with options upfront
Jesper Dangaard Brouer (2):
samples/bpf: extend xdp_rxq_info to read packet payload
samples/bpf: xdp_rxq_info action XDP_TX must adjust MAC-addrs
Jiong Wang (1):
nfp: bpf: allow source ptr type be map ptr in memcpy optimization
Toke Høiland-Jørgensen (2):
trace_helpers.c: Add helpers to poll multiple perf FDs for events
samples/bpf: Add xdp_sample_pkts example
drivers/net/ethernet/netronome/nfp/bpf/jit.c | 5 +-
samples/bpf/Makefile | 4 +
samples/bpf/xdp_rxq_info_kern.c | 43 +++++++
samples/bpf/xdp_rxq_info_user.c | 45 ++++++-
samples/bpf/xdp_sample_pkts_kern.c | 66 +++++++++++
samples/bpf/xdp_sample_pkts_user.c | 169 +++++++++++++++++++++++++++
tools/bpf/bpftool/Makefile | 2 +-
tools/bpf/bpftool/bash-completion/bpftool | 32 +++--
tools/bpf/bpftool/common.c | 2 -
tools/bpf/bpftool/main.c | 4 +-
tools/bpf/bpftool/main.h | 2 -
tools/bpf/bpftool/map.c | 2 -
tools/bpf/bpftool/prog.c | 4 +-
tools/lib/bpf/libbpf.c | 49 ++++++--
tools/lib/bpf/libbpf.h | 2 +
tools/testing/selftests/bpf/test_sock_addr.c | 37 +++++-
tools/testing/selftests/bpf/trace_helpers.c | 48 +++++++-
tools/testing/selftests/bpf/trace_helpers.h | 4 +
18 files changed, 471 insertions(+), 49 deletions(-)
create mode 100644 samples/bpf/xdp_sample_pkts_kern.c
create mode 100644 samples/bpf/xdp_sample_pkts_user.c
Powered by blists - more mailing lists