netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: mgherzan@gmail.com
Cc: linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org,
	linux@arm.linux.org.uk
Subject: Re: [PATCH v3] ARM: net: JIT compiler for packet filters
Date: Wed, 28 Dec 2011 13:41:15 -0500 (EST)	[thread overview]
Message-ID: <20111228.134115.1976002751167690328.davem@davemloft.net> (raw)
In-Reply-To: <4EFB3B06.1090203@gmail.com>

From: Mircea Gherzan <mgherzan@gmail.com>
Date: Wed, 28 Dec 2011 16:51:34 +0100

> Am 20.12.2011 19:55, schrieb David Miller:
>> From: Mircea Gherzan<mgherzan@gmail.com>
>> 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<mgherzan@gmail.com>
>>
>> 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]).

I think it's much easier if this goes via the ARM tree, so I ask that
the ARM folks pull this patch in.

Acked-by: David S. Miller <davem@davemloft.net>

Thanks.

      reply	other threads:[~2011-12-28 18:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-20 18:04 [PATCH v3] ARM: net: JIT compiler for packet filters Mircea Gherzan
2011-12-20 18:55 ` David Miller
2011-12-28 15:51   ` Mircea Gherzan
2011-12-28 18:41     ` David Miller [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20111228.134115.1976002751167690328.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux@arm.linux.org.uk \
    --cc=mgherzan@gmail.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).