From: Jakub Kicinski <jakub.kicin...@netronome.com> 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.