Skip to content
Snippets Groups Projects
  1. Feb 28, 2021
    • Tony Ambardar's avatar
      iproute2: update to 5.11.0 · b048a305
      Tony Ambardar authored
      The latest iproute2 version brings various improvements and fixes:
      https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/log/?qt=range&q=v5.10.0..v5.11.0
      
      
      
      In particular, ip and tc now use libbpf as the standard way to load BPF
      programs, rather than the old, limited custom loader. This allows more
      consistent and featureful BPF program handling e.g. support for global
      initialized variables.
      
      Also fix a longstanding problem with iproute2 builds where unneeded DSO
      dependencies are added to most utilities, bloating their installation
      footprint. From research and testing, explicitly using a "--as-needed"
      linker flag avoids the issue. Update accordingly and drop extra package
      dependencies from Makefile.
      
      Additional build and packaging updates include:
      
        - install missing development header to iproute2/bpf_elf.h
        - propagate OpenWrt verbose flag during build
        - update and refresh patches
      
      Compile and run tested: QEMU/malta-mips32be on kernels 5.4 & 5.10.
      
      All iproute2 packages were built and installed to the test image. Some
      regression testing using ip-full and tc was successfully performed to
      exercise several kmods, tc modules, and simple BPF programs.
      
      Signed-off-by: default avatarTony Ambardar <itugrok@yahoo.com>
      b048a305
  2. Feb 13, 2020
  3. Feb 11, 2019
    • Tony Ambardar's avatar
      iproute2: fix broken configuration patch · 43e14a2f
      Tony Ambardar authored
      
      Since v4.13, iproute2 switched to a config.mk file with greater use of
      pkg-config for library/feature detection. Replace the old Config patch
      with one modifying the configure script but enabling the same changes:
       - explicitly disable TC_CONFIG_ATM
       - rely on feature detection for IP_CONFIG_SETNS and TC_CONFIG_XT
      
      Signed-off-by: default avatarTony Ambardar <itugrok@yahoo.com>
      43e14a2f
Loading