alistair23-linux/tools/testing/selftests
David S. Miller 79741a38b4 Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next
Daniel Borkmann says:

====================
pull-request: bpf-next 2018-04-27

The following pull-request contains BPF updates for your *net-next* tree.

The main changes are:

1) Add extensive BPF helper description into include/uapi/linux/bpf.h
   and a new script bpf_helpers_doc.py which allows for generating a
   man page out of it. Thus, every helper in BPF now comes with proper
   function signature, detailed description and return code explanation,
   from Quentin.

2) Migrate the BPF collect metadata tunnel tests from BPF samples over
   to the BPF selftests and further extend them with v6 vxlan, geneve
   and ipip tests, simplify the ipip tests, improve documentation and
   convert to bpf_ntoh*() / bpf_hton*() api, from William.

3) Currently, helpers that expect ARG_PTR_TO_MAP_{KEY,VALUE} can only
   access stack and packet memory. Extend this to allow such helpers
   to also use map values, which enabled use cases where value from
   a first lookup can be directly used as a key for a second lookup,
   from Paul.

4) Add a new helper bpf_skb_get_xfrm_state() for tc BPF programs in
   order to retrieve XFRM state information containing SPI, peer
   address and reqid values, from Eyal.

5) Various optimizations in nfp driver's BPF JIT in order to turn ADD
   and SUB instructions with negative immediate into the opposite
   operation with a positive immediate such that nfp can better fit
   small immediates into instructions. Savings in instruction count
   up to 4% have been observed, from Jakub.

6) Add the BPF prog's gpl_compatible flag to struct bpf_prog_info
   and add support for dumping this through bpftool, from Jiri.

7) Move the BPF sockmap samples over into BPF selftests instead since
   sockmap was rather a series of tests than sample anyway and this way
   this can be run from automated bots, from John.

8) Follow-up fix for bpf_adjust_tail() helper in order to make it work
   with generic XDP, from Nikita.

9) Some follow-up cleanups to BTF, namely, removing unused defines from
   BTF uapi header and renaming 'name' struct btf_* members into name_off
   to make it more clear they are offsets into string section, from Martin.

10) Remove test_sock_addr from TEST_GEN_PROGS in BPF selftests since
    not run directly but invoked from test_sock_addr.sh, from Yonghong.

11) Remove redundant ret assignment in sample BPF loader, from Wang.

12) Add couple of missing files to BPF selftest's gitignore, from Anders.

There are two trivial merge conflicts while pulling:

  1) Remove samples/sockmap/Makefile since all sockmap tests have been
     moved to selftests.
  2) Add both hunks from tools/testing/selftests/bpf/.gitignore to the
     file since git should ignore all of them.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>
2018-04-26 21:19:50 -04:00
..
android selftests/android/ion: Makefile: fix build error 2018-03-21 10:40:04 -06:00
bpf Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next 2018-04-26 21:19:50 -04:00
breakpoints
capabilities
cpu-hotplug
cpufreq
drivers/gpu
efivarfs
exec
filesystems selftests/filesystems: Don't run dnotify_test by default 2018-04-17 17:01:16 -06:00
firmware test_firmware: modify custom fallback tests to use unique files 2018-03-20 09:28:47 +01:00
ftrace New features: 2018-04-10 11:27:30 -07:00
futex selftests: futex Makefile add top level TAP header echo to RUN_TESTS 2018-03-07 08:33:35 -07:00
gpio
ia64
intel_pstate selftests/intel_pstate: Fix build rule for x86 2018-04-02 11:55:47 -06:00
ipc
kcmp
kmod
kvm kvm: selftests: add vmx_tsc_adjust_test 2018-04-16 17:50:23 +02:00
lib
locking
media_tests
membarrier
memfd
memory-hotplug
mount
mqueue
net selftests: udp gso benchmark 2018-04-26 15:09:52 -04:00
networking/timestamping selftests/txtimestamp: Add more configurable parameters 2018-03-16 15:05:57 -04:00
nsfs
ntb
powerpc selftests/powerpc: Fix copyloops build since Power4 assembler change 2018-04-03 21:50:09 +10:00
prctl
proc proc: fixup copyright sign 2018-04-12 20:52:25 -07:00
pstore
ptp
ptrace
rcutorture
seccomp selftests/seccomp: Allow get_metadata to XFAIL 2018-03-21 10:42:46 -06:00
sigaltstack
size
splice
static_keys
sync
sysctl
tc-testing tc-testing: updated ife test cases 2018-04-23 10:10:11 -04:00
timers
user
vDSO
vm selftests/vm/run_vmtests: adjust hugetlb size according to nr_cpus 2018-03-09 16:40:01 -08:00
watchdog
x86 selftests/x86/ptrace_syscall: Fix for yet more glibc interference 2018-03-19 09:06:15 +01:00
zram
.gitignore
gen_kselftest_tar.sh
kselftest.h selftests: kselftest framework: add handling for TAP header level 2018-03-05 19:10:27 -07:00
kselftest_harness.h selftests/seccomp: Allow get_metadata to XFAIL 2018-03-21 10:42:46 -06:00
kselftest_install.sh
lib.mk selftests: lib.mk set KSFT_TAP_LEVEL to prevent nested TAP headers 2018-03-05 19:10:35 -07:00
Makefile proc: test /proc/self/wchan 2018-04-11 10:28:34 -07:00