• D
    Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next · d671965b
    David S. Miller 提交于
    Daniel Borkmann says:
    
    ====================
    pull-request: bpf-next 2017-12-03
    
    The following pull-request contains BPF updates for your *net-next* tree.
    
    The main changes are:
    
    1) Addition of a software model for BPF offloads in order to ease
       testing code changes in that area and make semantics more clear.
       This is implemented in a new driver called netdevsim, which can
       later also be extended for other offloads. SR-IOV support is added
       as well to netdevsim. BPF kernel selftests for offloading are
       added so we can track basic functionality as well as exercising
       all corner cases around BPF offloading, from Jakub.
    
    2) Today drivers have to drop the reference on BPF progs they hold
       due to XDP on device teardown themselves. Change this in order
       to make XDP handling inside the drivers less error prone, and
       move disabling XDP to the core instead, also from Jakub.
    
    3) Misc set of BPF verifier improvements and cleanups as preparatory
       work for upcoming BPF-to-BPF calls. Among others, this set also
       improves liveness marking such that pruning can be slightly more
       effective. Register and stack liveness information is now included
       in the verifier log as well, from Alexei.
    
    4) nfp JIT improvements in order to identify load/store sequences in
       the BPF prog e.g. coming from memcpy lowering and optimizing them
       through the NPU's command push pull (CPP) instruction, from Jiong.
    
    5) Cleanups to test_cgrp2_attach2.c BPF sample code in oder to remove
       bpf_prog_attach() magic values and replacing them with actual proper
       attach flag instead, from David.
    ====================
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    d671965b
rtnetlink.c 109.6 KB