From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mircea Gherzan Subject: Re: [PATCH v3] ARM: net: JIT compiler for packet filters Date: Wed, 28 Dec 2011 16:51:34 +0100 Message-ID: <4EFB3B06.1090203@gmail.com> References: <1324404263-913-1-git-send-email-mgherzan@gmail.com> <20111220.135526.82432216865290827.davem@davemloft.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org, linux@arm.linux.org.uk To: David Miller Return-path: Received: from mail-ee0-f46.google.com ([74.125.83.46]:38904 "EHLO mail-ee0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752875Ab1L1Pvh (ORCPT ); Wed, 28 Dec 2011 10:51:37 -0500 Received: by eekc4 with SMTP id c4so12384045eek.19 for ; Wed, 28 Dec 2011 07:51:36 -0800 (PST) In-Reply-To: <20111220.135526.82432216865290827.davem@davemloft.net> Sender: netdev-owner@vger.kernel.org List-ID: Am 20.12.2011 19:55, schrieb David Miller: > From: Mircea Gherzan > Date: Tue, 20 Dec 2011 19:04:23 +0100 > >> Based of Matt Evans's PPC64 implementation. >> >> The compiler generates ARM instructions but interworking is >> supported for Thumb2 kernels. >> >> Supports both little and big endian. Unaligned loads are emitted >> for ARMv6+. Not all the BPF opcodes that deal with ancillary data >> are supported. The scratch memory of the filter lives on the stack. >> Hardware integer division is used if it is available. >> >> Enabled in the same way as for x86-64 and PPC64: >> >> echo 1> /proc/sys/net/core/bpf_jit_enable >> >> A value greater than 1 enables opcode output. >> >> Signed-off-by: Mircea Gherzan > > I'm happy with this going in via the ARM tree once all the details > are worked out: I do not really care that much about the tree where this is going, as long as it gets into 3.3 :) If you want to take it via the -net tree, please synchronize with Russell (I've uploaded the patch to his tracking system [1]). Thanks, Mircea [1] http://www.arm.linux.org.uk/developer/patche/viewpatch.php?id=7259/1 > Acked-by: David S. Miller