lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170531150651.16873-1-jakub.kicinski@netronome.com>
Date:   Wed, 31 May 2017 08:06:42 -0700
From:   Jakub Kicinski <jakub.kicinski@...ronome.com>
To:     netdev@...r.kernel.org
Cc:     oss-drivers@...ronome.com,
        Jakub Kicinski <jakub.kicinski@...ronome.com>
Subject: [PATCH net-next 0/9] nfp: move BPF offload code into app

Hi!

This series moves the eBPF offload code out of netdev/vNIC handling and
starts building the nfp_app.  Port init is moved into the apps as well
because various apps associate vNICs, representors with ports differently.

First patch adds a helper for updating tc stats which has been waiting 
in my tree to be included in any moderately related series.

Next series will bring communicating with FW using control messages,
then representors, BPF maps, tc flower... :)

Jakub Kicinski (9):
  sched: add helper for updating statistics on all actions
  nfp: add missing fall through statements
  nfp: turn reading PCIe RTsym parameters into a helper
  nfp: move port init to apps
  nfp: report app name in ethtool -i
  nfp: move eBPF offload files to BPF app directory
  nfp: move bpf offload code to the BPF app
  nfp: move basic eBPF stats to app-specific code
  nfp: fix memory leak on FW load error

 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c    |  10 +-
 .../net/ethernet/mellanox/mlxsw/spectrum_flower.c  |  10 +-
 drivers/net/ethernet/netronome/nfp/Makefile        |  11 +-
 .../netronome/nfp/{nfp_bpf_jit.c => bpf/jit.c}     |   4 +-
 drivers/net/ethernet/netronome/nfp/bpf/main.c      | 160 +++++++++++++++++++++
 .../netronome/nfp/{nfp_bpf.h => bpf/main.h}        |  23 +++
 .../nfp/{nfp_net_offload.c => bpf/offload.c}       |  61 ++++----
 .../nfp/{nfp_bpf_verifier.c => bpf/verifier.c}     |   2 +-
 drivers/net/ethernet/netronome/nfp/nfp_app.c       |  21 ++-
 drivers/net/ethernet/netronome/nfp/nfp_app.h       | 120 +++++++++++++++-
 drivers/net/ethernet/netronome/nfp/nfp_app_nic.c   |  86 +++++++++++
 drivers/net/ethernet/netronome/nfp/nfp_asm.h       |   2 +-
 drivers/net/ethernet/netronome/nfp/nfp_main.c      |   1 +
 drivers/net/ethernet/netronome/nfp/nfp_main.h      |   6 +
 drivers/net/ethernet/netronome/nfp/nfp_net.h       |  16 +--
 .../net/ethernet/netronome/nfp/nfp_net_common.c    |  71 ++-------
 .../net/ethernet/netronome/nfp/nfp_net_ethtool.c   |   5 +-
 drivers/net/ethernet/netronome/nfp/nfp_net_main.c  |  86 ++++++-----
 drivers/net/ethernet/netronome/nfp/nic/main.c      |  58 ++++++++
 include/net/pkt_cls.h                              |  19 +++
 20 files changed, 600 insertions(+), 172 deletions(-)
 rename drivers/net/ethernet/netronome/nfp/{nfp_bpf_jit.c => bpf/jit.c} (99%)
 create mode 100644 drivers/net/ethernet/netronome/nfp/bpf/main.c
 rename drivers/net/ethernet/netronome/nfp/{nfp_bpf.h => bpf/main.h} (88%)
 rename drivers/net/ethernet/netronome/nfp/{nfp_net_offload.c => bpf/offload.c} (85%)
 rename drivers/net/ethernet/netronome/nfp/{nfp_bpf_verifier.c => bpf/verifier.c} (99%)
 create mode 100644 drivers/net/ethernet/netronome/nfp/nfp_app_nic.c
 create mode 100644 drivers/net/ethernet/netronome/nfp/nic/main.c

-- 
2.11.0

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ