netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jakub Kicinski <jakub.kicinski@netronome.com>
To: netdev@vger.kernel.org
Cc: oss-drivers@netronome.com, Jakub Kicinski <jakub.kicinski@netronome.com>
Subject: [PATCH net-next 00/15] nfp: bpf ABIv2 and multi port
Date: Sun,  8 Oct 2017 21:04:02 -0700	[thread overview]
Message-ID: <20171009040417.22172-1-jakub.kicinski@netronome.com> (raw)

Hi!

This series migrates our eBPF offload from old PoC firmware to 
a redesigned, faster and more feature rich FW.  Marking support
is dropped for now.  We have to teach the JIT about encoding
local memory accesses (one of NFP memory types).  There is also
code to populate the ECC of instructions (PoC had ECC protection
on instruction store disabled).  There is also a minor ld_field
fix and all 64 bit shifts can now be encoded.


Jakub Kicinski (15):
  nfp: output control messages to trace_devlink_hwmsg()
  nfp: bpf: lift the single-port limitation
  nfp: bpf: use the power of sparse to check we encode registers right
  nfp: bpf: move software reg helpers and cmd table out of translator
  nfp: bpf: encode all 64bit shifts
  nfp: bpf: remove register rename
  nfp: bpf: remove packet marking support
  nfp: add more white space to the instruction defines
  nfp: bpf: encode LMEM accesses
  nfp: bpf: encode extended LM pointer operands
  nfp: bpf: move to datapath ABI version 2
  nfp: bpf: calculate code store ECC
  nfp: bpf: pad code with valid nops
  nfp: bpf: byte swap the instructions
  nfp: bpf: pass dst register to ld_field instruction

 drivers/net/ethernet/netronome/nfp/Makefile       |   1 +
 drivers/net/ethernet/netronome/nfp/bpf/jit.c      | 403 ++++++++--------------
 drivers/net/ethernet/netronome/nfp/bpf/main.c     |   8 -
 drivers/net/ethernet/netronome/nfp/bpf/main.h     |  49 +--
 drivers/net/ethernet/netronome/nfp/nfp_app.h      |   8 +
 drivers/net/ethernet/netronome/nfp/nfp_asm.c      | 254 ++++++++++++++
 drivers/net/ethernet/netronome/nfp/nfp_asm.h      | 293 +++++++++++-----
 drivers/net/ethernet/netronome/nfp/nfp_net_ctrl.h |   2 +-
 8 files changed, 640 insertions(+), 378 deletions(-)
 create mode 100644 drivers/net/ethernet/netronome/nfp/nfp_asm.c

-- 
2.14.1

             reply	other threads:[~2017-10-09  4:05 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-09  4:04 Jakub Kicinski [this message]
2017-10-09  4:04 ` [PATCH net-next 01/15] nfp: output control messages to trace_devlink_hwmsg() Jakub Kicinski
2017-10-09  4:04 ` [PATCH net-next 02/15] nfp: bpf: lift the single-port limitation Jakub Kicinski
2017-10-09  4:04 ` [PATCH net-next 03/15] nfp: bpf: use the power of sparse to check we encode registers right Jakub Kicinski
2017-10-09  4:04 ` [PATCH net-next 04/15] nfp: bpf: move software reg helpers and cmd table out of translator Jakub Kicinski
2017-10-09  4:04 ` [PATCH net-next 05/15] nfp: bpf: encode all 64bit shifts Jakub Kicinski
2017-10-09  4:04 ` [PATCH net-next 06/15] nfp: bpf: remove register rename Jakub Kicinski
2017-10-09  4:04 ` [PATCH net-next 07/15] nfp: bpf: remove packet marking support Jakub Kicinski
2017-10-09  4:04 ` [PATCH net-next 08/15] nfp: add more white space to the instruction defines Jakub Kicinski
2017-10-09  4:04 ` [PATCH net-next 09/15] nfp: bpf: encode LMEM accesses Jakub Kicinski
2017-10-09  4:04 ` [PATCH net-next 10/15] nfp: bpf: encode extended LM pointer operands Jakub Kicinski
2017-10-09  4:04 ` [PATCH net-next 11/15] nfp: bpf: move to datapath ABI version 2 Jakub Kicinski
2017-10-09  4:04 ` [PATCH net-next 12/15] nfp: bpf: calculate code store ECC Jakub Kicinski
2017-10-09  4:04 ` [PATCH net-next 13/15] nfp: bpf: pad code with valid nops Jakub Kicinski
2017-10-09  4:04 ` [PATCH net-next 14/15] nfp: bpf: byte swap the instructions Jakub Kicinski
2017-10-09  4:04 ` [PATCH net-next 15/15] nfp: bpf: pass dst register to ld_field instruction Jakub Kicinski
2017-10-09 16:52 ` [PATCH net-next 00/15] nfp: bpf ABIv2 and multi port David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171009040417.22172-1-jakub.kicinski@netronome.com \
    --to=jakub.kicinski@netronome.com \
    --cc=netdev@vger.kernel.org \
    --cc=oss-drivers@netronome.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).