public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] BPF JIT fixes and features for ARM
@ 2015-07-16 16:46 Nicolas Schichan
  2015-07-16 16:46 ` [PATCH 1/6] ARM: net: fix condition for load_order > 0 when translating load instructions Nicolas Schichan
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Nicolas Schichan @ 2015-07-16 16:46 UTC (permalink / raw)
  To: David S. Miller, Daniel Borkmann, Nicolas Schichan,
	Mircea Gherzan, linux-arm-kernel, linux-kernel, netdev
  Cc: Russell King, Alexei Starovoitov

Hello,

This serie fixes issues with the ARM BPF JIT and adds support for more
instructions to the ARM BPF JIT.

The first three patches are fixing bugs in the ARM JIT and should
probably find their way to a stable kernel.

The last three patches add support to the ARM JIT for more BPF
instructions, namely skb netdevice type retrieval, skb payload offset
retrieval, and skb packet type retrieval.

With the first three patches, all 60 test_bpf tests in Linux 4.1 release
are now passing OK (was 54 out of 60 before).

The last three patches allow 35 tests to use the JIT instead of 29
before.

Like previous ARM JIT patches this should go via the net tree.

Regards,

Nicolas Schichan (6):
  ARM: net: fix condition for load_order > 0 when translating load
    instructions.
  ARM: net: handle negative offsets in BPF JIT.
  ARM: net: fix vlan access instructions in ARM JIT.
  ARM: net: add support for BPF_ANC | SKF_AD_PKTTYPE in ARM JIT.
  ARM: net: add support for BPF_ANC | SKF_AD_PAY_OFFSET in ARM JIT.
  ARM: net: add support for BPF_ANC | SKF_AD_HATYPE in ARM JIT.

 arch/arm/net/bpf_jit_32.c | 98 +++++++++++++++++++++++++++++++++++++++--------
 arch/arm/net/bpf_jit_32.h |  3 ++
 2 files changed, 86 insertions(+), 15 deletions(-)

-- 
1.9.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2015-07-21  3:35 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-16 16:46 [PATCH 0/6] BPF JIT fixes and features for ARM Nicolas Schichan
2015-07-16 16:46 ` [PATCH 1/6] ARM: net: fix condition for load_order > 0 when translating load instructions Nicolas Schichan
2015-07-16 16:46 ` [PATCH 2/6] ARM: net: handle negative offsets in BPF JIT Nicolas Schichan
2015-07-16 16:46 ` [PATCH 3/6] ARM: net: fix vlan access instructions in ARM JIT Nicolas Schichan
2015-07-16 16:46 ` [PATCH 4/6] ARM: net: add support for BPF_ANC | SKF_AD_PKTTYPE " Nicolas Schichan
2015-07-16 16:46 ` [PATCH 5/6] ARM: net: add support for BPF_ANC | SKF_AD_PAY_OFFSET " Nicolas Schichan
2015-07-16 16:46 ` [PATCH 6/6] ARM: net: add support for BPF_ANC | SKF_AD_HATYPE " Nicolas Schichan
2015-07-16 17:35 ` [PATCH 0/6] BPF JIT fixes and features for ARM Alexei Starovoitov
2015-07-21  3:35 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox