1
0
Fork 0
alistair23-linux/drivers/net/ethernet/netronome/nfp
David S. Miller 437a4db66d Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf
Daniel Borkmann says:

====================
pull-request: bpf 2018-02-09

The following pull-request contains BPF updates for your *net* tree.

The main changes are:

1) Two fixes for BPF sockmap in order to break up circular map references
   from programs attached to sockmap, and detaching related sockets in
   case of socket close() event. For the latter we get rid of the
   smap_state_change() and plug into ULP infrastructure, which will later
   also be used for additional features anyway such as TX hooks. For the
   second issue, dependency chain is broken up via map release callback
   to free parse/verdict programs, all from John.

2) Fix a libbpf relocation issue that was found while implementing XDP
   support for Suricata project. Issue was that when clang was invoked
   with default target instead of bpf target, then various other e.g.
   debugging relevant sections are added to the ELF file that contained
   relocation entries pointing to non-BPF related sections which libbpf
   trips over instead of skipping them. Test cases for libbpf are added
   as well, from Jesper.

3) Various misc fixes for bpftool and one for libbpf: a small addition
   to libbpf to make sure it recognizes all standard section prefixes.
   Then, the Makefile in bpftool/Documentation is improved to explicitly
   check for rst2man being installed on the system as we otherwise risk
   installing empty man pages; the man page for bpftool-map is corrected
   and a set of missing bash completions added in order to avoid shipping
   bpftool where the completions are only partially working, from Quentin.

4) Fix applying the relocation to immediate load instructions in the
   nfp JIT which were missing a shift, from Jakub.

5) Two fixes for the BPF kernel selftests: handle CONFIG_BPF_JIT_ALWAYS_ON=y
   gracefully in test_bpf.ko module and mark them as FLAG_EXPECTED_FAIL
   in this case; and explicitly delete the veth devices in the two tests
   test_xdp_{meta,redirect}.sh before dismantling the netnses as when
   selftests are run in batch mode, then workqueue to handle destruction
   might not have finished yet and thus veth creation in next test under
   same dev name would fail, from Yonghong.

6) Fix test_kmod.sh to check the test_bpf.ko module path before performing
   an insmod, and fallback to modprobe. Especially the latter is useful
   when having a device under test that has the modules installed instead,
   from Naresh.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>
2018-02-09 14:05:10 -05:00
..
bpf nfp: forbid disabling hw-tc-offload on representors while offload active 2018-02-08 10:01:27 -05:00
flower nfp: forbid disabling hw-tc-offload on representors while offload active 2018-02-08 10:01:27 -05:00
nfpcore nfp: fix kdoc warnings on nested structures 2018-02-06 11:43:58 -05:00
nic nfp: separate app vNIC init/clean from alloc/free 2017-09-03 21:22:04 -07:00
Makefile nfp: add TLV capabilities to the BAR 2018-01-19 15:44:18 -05:00
nfp_app.c nfp: improve app not found message 2018-01-19 15:44:18 -05:00
nfp_app.h nfp: forbid disabling hw-tc-offload on representors while offload active 2018-02-08 10:01:27 -05:00
nfp_app_nic.c nfp: separate app vNIC init/clean from alloc/free 2017-09-03 21:22:04 -07:00
nfp_asm.c nfp: bpf: fix immed relocation for larger offsets 2018-02-08 11:59:50 +01:00
nfp_asm.h nfp: bpf: add helpers for updating immediate instructions 2018-01-14 23:36:30 +01:00
nfp_devlink.c nfp: register devlink after app is created 2018-01-19 15:44:18 -05:00
nfp_hwmon.c nfp: add hwmon support 2017-05-30 11:27:06 -04:00
nfp_main.c nfp: populate MODULE_VERSION 2018-02-08 10:01:27 -05:00
nfp_main.h nfp: debug dump ethtool ops 2017-12-05 15:01:01 -05:00
nfp_net.h nfp: fix kdoc warnings on nested structures 2018-02-06 11:43:58 -05:00
nfp_net_common.c nfp: limit the number of TSO segments 2018-02-08 10:01:27 -05:00
nfp_net_ctrl.c nfp: fix TLV offset calculation 2018-02-02 19:08:20 -05:00
nfp_net_ctrl.h nfp: limit the number of TSO segments 2018-02-08 10:01:27 -05:00
nfp_net_debugdump.c nfp: fix fw dump handling of absolute rtsym size 2018-01-23 10:12:01 -05:00
nfp_net_debugfs.c nfp: don't reuse pointers in ring dumping 2017-08-18 22:39:28 -07:00
nfp_net_ethtool.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2018-01-17 00:10:42 -05:00
nfp_net_main.c nfp: read ME frequency from vNIC ctrl memory 2018-01-19 15:44:18 -05:00
nfp_net_repr.c nfp: forbid disabling hw-tc-offload on representors while offload active 2018-02-08 10:01:27 -05:00
nfp_net_repr.h nfp: protect each repr pointer individually with RCU 2018-01-19 15:44:18 -05:00
nfp_net_sriov.c nfp: inform the VF driver needs to be restarted after changing the MAC 2017-10-28 18:59:48 +09:00
nfp_net_sriov.h nfp: add basic SR-IOV ndo functions 2017-08-25 19:24:58 -07:00
nfp_netvf_main.c nfp: read ME frequency from vNIC ctrl memory 2018-01-19 15:44:18 -05:00
nfp_port.c nfp: forbid disabling hw-tc-offload on representors while offload active 2018-02-08 10:01:27 -05:00
nfp_port.h nfp: forbid disabling hw-tc-offload on representors while offload active 2018-02-08 10:01:27 -05:00