1. 15 Mar, 2020 32 commits
  2. 14 Mar, 2020 2 commits
    • David S. Miller's avatar
      Merge tag 'mlx5-updates-2020-03-13' of git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux · 94229d45
      David S. Miller authored
      Saeed Mahameed says:
      
      ====================
      mlx5-updates-2020-03-13
      
      Misc update to mlx5 core and E-Switch driver:
      
      1) Blue-Field, Update VF vports config when num of VFs changed
      
      From Bodon, Various misc cleanups and refactoring
      for vport enabling/disabling routines to allow them to be called
      dynamically and not only on E-Switch load.
      
      This will allow ECPF (ConnectX BlueField Smartnic) support for dynamic
      num vf changes and dynamic vport creation and configuration as introduced
      in "Update VF vports config when num of VFs changed" patch.
      
      2) From Parav and Mark, trivial clean-ups.
      
      3) Software steering support for flow table id as destination
      and a clean-up patch to remove unnecessary function stubs, from Alex.
      ====================
      Acked-by: default avatarJakub Kicinski <kuba@kernel.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      94229d45
    • David S. Miller's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next · 44ef976a
      David S. Miller authored
      Daniel Borkmann says:
      
      ====================
      pull-request: bpf-next 2020-03-13
      
      The following pull-request contains BPF updates for your *net-next* tree.
      
      We've added 86 non-merge commits during the last 12 day(s) which contain
      a total of 107 files changed, 5771 insertions(+), 1700 deletions(-).
      
      The main changes are:
      
      1) Add modify_return attach type which allows to attach to a function via
         BPF trampoline and is run after the fentry and before the fexit programs
         and can pass a return code to the original caller, from KP Singh.
      
      2) Generalize BPF's kallsyms handling and add BPF trampoline and dispatcher
         objects to be visible in /proc/kallsyms so they can be annotated in
         stack traces, from Jiri Olsa.
      
      3) Extend BPF sockmap to allow for UDP next to existing TCP support in order
         in order to enable this for BPF based socket dispatch, from Lorenz Bauer.
      
      4) Introduce a new bpftool 'prog profile' command which attaches to existing
         BPF programs via fentry and fexit hooks and reads out hardware counters
         during that period, from Song Liu. Example usage:
      
         bpftool prog profile id 337 duration 3 cycles instructions llc_misses
      
              4228 run_cnt
           3403698 cycles                                              (84.08%)
           3525294 instructions   #  1.04 insn per cycle               (84.05%)
                13 llc_misses     #  3.69 LLC misses per million isns  (83.50%)
      
      5) Batch of improvements to libbpf, bpftool and BPF selftests. Also addition
         of a new bpf_link abstraction to keep in particular BPF tracing programs
         attached even when the applicaion owning them exits, from Andrii Nakryiko.
      
      6) New bpf_get_current_pid_tgid() helper for tracing to perform PID filtering
         and which returns the PID as seen by the init namespace, from Carlos Neira.
      
      7) Refactor of RISC-V JIT code to move out common pieces and addition of a
         new RV32G BPF JIT compiler, from Luke Nelson.
      
      8) Add gso_size context member to __sk_buff in order to be able to know whether
         a given skb is GSO or not, from Willem de Bruijn.
      
      9) Add a new bpf_xdp_output() helper which reuses XDP's existing perf RB output
         implementation but can be called from tracepoint programs, from Eelco Chaudron.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      44ef976a
  3. 13 Mar, 2020 6 commits