1. 23 May, 2020 1 commit
    • David S. Miller's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next · a152b859
      David S. Miller authored
      Daniel Borkmann says:
      
      ====================
      pull-request: bpf-next 2020-05-23
      
      The following pull-request contains BPF updates for your *net-next* tree.
      
      We've added 50 non-merge commits during the last 8 day(s) which contain
      a total of 109 files changed, 2776 insertions(+), 2887 deletions(-).
      
      The main changes are:
      
      1) Add a new AF_XDP buffer allocation API to the core in order to help
         lowering the bar for drivers adopting AF_XDP support. i40e, ice, ixgbe
         as well as mlx5 have been moved over to the new API and also gained a
         small improvement in performance, from Björn Töpel and Magnus Karlsson.
      
      2) Add getpeername()/getsockname() attach types for BPF sock_addr programs
         in order to allow for e.g. reverse translation of load-balancer backend
         to service address/port tuple from a connected peer, from Daniel Borkmann.
      
      3) Improve the BPF verifier is_branch_taken() logic to evaluate pointers
         being non-NULL, e.g. if after an initial test another non-NULL test on
         that pointer follows in a given path, then it can be pruned right away,
         from John Fastabend.
      
      4) Larger rework of BPF sockmap selftests to make output easier to understand
         and to reduce overall runtime as well as adding new BPF kTLS selftests
         that run in combination with sockmap, also from John Fastabend.
      
      5) Batch of misc updates to BPF selftests including fixing up test_align
         to match verifier output again and moving it under test_progs, allowing
         bpf_iter selftest to compile on machines with older vmlinux.h, and
         updating config options for lirc and v6 segment routing helpers, from
         Stanislav Fomichev, Andrii Nakryiko and Alan Maguire.
      
      6) Conversion of BPF tracing samples outdated internal BPF loader to use
         libbpf API instead, from Daniel T. Lee.
      
      7) Follow-up to BPF kernel test infrastructure in order to fix a flake in
         the XDP selftests, from Jesper Dangaard Brouer.
      
      8) Minor improvements to libbpf's internal hashmap implementation, from
         Ian Rogers.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      a152b859
  2. 22 May, 2020 39 commits