• David S. Miller's avatar
    Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next · b6803408
    David S. Miller authored
    Daniel Borkmann says:
    
    ====================
    pull-request: bpf-next 2018-07-03
    
    The following pull-request contains BPF updates for your *net-next* tree.
    
    The main changes are:
    
    1) Various improvements to bpftool and libbpf, that is, bpftool build
       speed improvements, missing BPF program types added for detection
       by section name, ability to load programs from '.text' section is
       made to work again, and better bash completion handling, from Jakub.
    
    2) Improvements to nfp JIT's map read handling which allows for optimizing
       memcpy from map to packet, from Jiong.
    
    3) New BPF sample is added which demonstrates XDP in combination with
       bpf_perf_event_output() helper to sample packets on all CPUs, from Toke.
    
    4) Add a new BPF kselftest case for tracking connect(2) BPF hooks
       infrastructure in combination with TFO, from Andrey.
    
    5) Extend the XDP/BPF xdp_rxq_info sample code with a cmdline option to
       read payload from packet data in order to use it for benchmarking.
       Also for '--action XDP_TX' option implement swapping of MAC addresses
       to avoid drops on some hardware seen during testing, from Jesper.
    ====================
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    b6803408
prog.c 16.4 KB