1. 04 Jun, 2024 6 commits
  2. 03 Jun, 2024 14 commits
  3. 01 Jun, 2024 1 commit
  4. 30 May, 2024 8 commits
  5. 29 May, 2024 9 commits
  6. 28 May, 2024 2 commits
    • Mykyta Yatsenko's avatar
      libbpf: Configure log verbosity with env variable · eb4e7726
      Mykyta Yatsenko authored
      Configure logging verbosity by setting LIBBPF_LOG_LEVEL environment
      variable, which is applied only to default logger. Once user set their
      custom logging callback, it is up to them to handle filtering.
      Signed-off-by: default avatarMykyta Yatsenko <yatsenko@meta.com>
      Signed-off-by: default avatarAndrii Nakryiko <andrii@kernel.org>
      Link: https://lore.kernel.org/bpf/20240524131840.114289-1-yatsenko@meta.com
      eb4e7726
    • Jakub Kicinski's avatar
      Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next · 4b3529ed
      Jakub Kicinski authored
      Daniel Borkmann says:
      
      ====================
      pull-request: bpf-next 2024-05-28
      
      We've added 23 non-merge commits during the last 11 day(s) which contain
      a total of 45 files changed, 696 insertions(+), 277 deletions(-).
      
      The main changes are:
      
      1) Rename skb's mono_delivery_time to tstamp_type for extensibility
         and add SKB_CLOCK_TAI type support to bpf_skb_set_tstamp(),
         from Abhishek Chauhan.
      
      2) Add netfilter CT zone ID and direction to bpf_ct_opts so that arbitrary
         CT zones can be used from XDP/tc BPF netfilter CT helper functions,
         from Brad Cowie.
      
      3) Several tweaks to the instruction-set.rst IETF doc to address
         the Last Call review comments, from Dave Thaler.
      
      4) Small batch of riscv64 BPF JIT optimizations in order to emit more
         compressed instructions to the JITed image for better icache efficiency,
         from Xiao Wang.
      
      5) Sort bpftool C dump output from BTF, aiming to simplify vmlinux.h
         diffing and forcing more natural type definitions ordering,
         from Mykyta Yatsenko.
      
      6) Use DEV_STATS_INC() macro in BPF redirect helpers to silence
         a syzbot/KCSAN race report for the tx_errors counter,
         from Jiang Yunshui.
      
      7) Un-constify bpf_func_info in bpftool to fix compilation with LLVM 17+
         which started treating const structs as constants and thus breaking
         full BTF program name resolution, from Ivan Babrou.
      
      8) Fix up BPF program numbers in test_sockmap selftest in order to reduce
         some of the test-internal array sizes, from Geliang Tang.
      
      9) Small cleanup in Makefile.btf script to use test-ge check for v1.25-only
         pahole, from Alan Maguire.
      
      10) Fix bpftool's make dependencies for vmlinux.h in order to avoid needless
          rebuilds in some corner cases, from Artem Savkov.
      
      * tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next: (23 commits)
        bpf, net: Use DEV_STAT_INC()
        bpf, docs: Fix instruction.rst indentation
        bpf, docs: Clarify call local offset
        bpf, docs: Add table captions
        bpf, docs: clarify sign extension of 64-bit use of 32-bit imm
        bpf, docs: Use RFC 2119 language for ISA requirements
        bpf, docs: Move sentence about returning R0 to abi.rst
        bpf: constify member bpf_sysctl_kern:: Table
        riscv, bpf: Try RVC for reg move within BPF_CMPXCHG JIT
        riscv, bpf: Use STACK_ALIGN macro for size rounding up
        riscv, bpf: Optimize zextw insn with Zba extension
        selftests/bpf: Handle forwarding of UDP CLOCK_TAI packets
        net: Add additional bit to support clockid_t timestamp type
        net: Rename mono_delivery_time to tstamp_type for scalabilty
        selftests/bpf: Update tests for new ct zone opts for nf_conntrack kfuncs
        net: netfilter: Make ct zone opts configurable for bpf ct helpers
        selftests/bpf: Fix prog numbers in test_sockmap
        bpf: Remove unused variable "prev_state"
        bpftool: Un-const bpf_func_info to fix it for llvm 17 and newer
        bpf: Fix order of args in call to bpf_map_kvcalloc
        ...
      ====================
      
      Link: https://lore.kernel.org/r/20240528105924.30905-1-daniel@iogearbox.netSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      4b3529ed