Skip to content

Commit

Permalink
Merge branch 'nfp-bpf-support-direct-packet-access'
Browse files Browse the repository at this point in the history
Jakub Kicinski says:

====================
nfp: bpf: support direct packet access

The core of this series is direct packet access support.  With a
small change to the verifier, the offloaded code can now make
use of DPA.  We need to be careful to use kernel (after initial
translation) offsets in our JIT.  Direct packet access also brings
us to the problem of eBPF endianness.  After considering the
changes necessary we decided to not support translation on both
BE and LE hosts, for now.

This series contains two fixes - one for compare instructions and
one for ineffective jne optimization.  I chose to include fixes
in this set because the code in -net works only with unreleased
PoC FW (ABI version 1) and therefore nobody outside of Netronome
can exercise it anyway.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Oct 14, 2017
2 parents 40d0af5 + bfddbc8 commit 8bc4654
Show file tree
Hide file tree
Showing 7 changed files with 394 additions and 101 deletions.
Loading

0 comments on commit 8bc4654

Please sign in to comment.