Thread (19 messages) 19 messages, 3 authors, 2016-09-21

Re: [PATCHv7 net-next 00/15] BPF hardware offload (cls_bpf for now)

flat view

From: David Miller <davem@davemloft.net>
Date: 2016-09-21 23:56:09

From: Jakub Kicinski <redacted>
Date: Wed, 21 Sep 2016 11:43:52 +0100
In the last year a lot of progress have been made on offloading
simpler TC classifiers.  There is also growing interest in using
BPF for generic high-speed packet processing in the kernel.
It seems beneficial to tie those two trends together and think
about hardware offloads of BPF programs.  This patch set presents
such offload to Netronome smart NICs.  cls_bpf is extended with
hardware offload capabilities and NFP driver gets a JIT translator
which in presence of capable firmware can be used to offload
the BPF program onto the card.

BPF JIT implementation is not 100% complete (e.g. missing instructions)
but it is functional.  Encouragingly it should be possible to
offload most (if not all) advanced BPF features onto the NIC - 
including packet modification, maps, tunnel encap/decap etc.
 ...

Series applied, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help