netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next] bpf, doc: Add arm32 as arch supporting eBPF JIT
@ 2017-08-23 15:59 Shubham Bansal
  2017-08-23 16:55 ` Alexei Starovoitov
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Shubham Bansal @ 2017-08-23 15:59 UTC (permalink / raw)
  To: davem; +Cc: netdev, daniel, ast, Shubham Bansal

As eBPF JIT support for arm32 was added recently with
commit 39c13c204bb1150d401e27d41a9d8b332be47c49, it seems appropriate to
add arm32 as arch with support for eBPF JIT in bpf and sysctl docs as well.

Signed-off-by: Shubham Bansal <illusionist.neo@gmail.com>
---
 Documentation/networking/filter.txt | 4 ++--
 Documentation/sysctl/net.txt        | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Documentation/networking/filter.txt b/Documentation/networking/filter.txt
index 6a0df8d..e5e33ba 100644
--- a/Documentation/networking/filter.txt
+++ b/Documentation/networking/filter.txt
@@ -596,8 +596,8 @@ skb pointer). All constraints and restrictions from bpf_check_classic() apply
 before a conversion to the new layout is being done behind the scenes!
 
 Currently, the classic BPF format is being used for JITing on most 32-bit
-architectures, whereas x86-64, aarch64, s390x, powerpc64, sparc64 perform JIT
-compilation from eBPF instruction set.
+architectures, whereas x86-64, aarch64, s390x, powerpc64, sparc64, arm32 perform
+JIT compilation from eBPF instruction set.
 
 Some core changes of the new internal format:
 
diff --git a/Documentation/sysctl/net.txt b/Documentation/sysctl/net.txt
index 28596e0..b67044a 100644
--- a/Documentation/sysctl/net.txt
+++ b/Documentation/sysctl/net.txt
@@ -46,13 +46,13 @@ translate these BPF proglets into native CPU instructions. There are
 two flavors of JITs, the newer eBPF JIT currently supported on:
   - x86_64
   - arm64
+  - arm32
   - ppc64
   - sparc64
   - mips64
   - s390x
 
 And the older cBPF JIT supported on the following archs:
-  - arm
   - mips
   - ppc
   - sparc
-- 
2.7.4

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

* Re: [PATCH net-next] bpf, doc: Add arm32 as arch supporting eBPF JIT
  2017-08-23 15:59 [PATCH net-next] bpf, doc: Add arm32 as arch supporting eBPF JIT Shubham Bansal
@ 2017-08-23 16:55 ` Alexei Starovoitov
  2017-08-23 17:03 ` Daniel Borkmann
  2017-08-24  5:41 ` David Miller
  2 siblings, 0 replies; 4+ messages in thread
From: Alexei Starovoitov @ 2017-08-23 16:55 UTC (permalink / raw)
  To: Shubham Bansal, davem; +Cc: netdev, daniel

On 8/23/17 8:59 AM, Shubham Bansal wrote:
> As eBPF JIT support for arm32 was added recently with
> commit 39c13c204bb1150d401e27d41a9d8b332be47c49, it seems appropriate to
> add arm32 as arch with support for eBPF JIT in bpf and sysctl docs as well.
>
> Signed-off-by: Shubham Bansal <illusionist.neo@gmail.com>

Acked-by: Alexei Starovoitov <ast@kernel.org>

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

* Re: [PATCH net-next] bpf, doc: Add arm32 as arch supporting eBPF JIT
  2017-08-23 15:59 [PATCH net-next] bpf, doc: Add arm32 as arch supporting eBPF JIT Shubham Bansal
  2017-08-23 16:55 ` Alexei Starovoitov
@ 2017-08-23 17:03 ` Daniel Borkmann
  2017-08-24  5:41 ` David Miller
  2 siblings, 0 replies; 4+ messages in thread
From: Daniel Borkmann @ 2017-08-23 17:03 UTC (permalink / raw)
  To: Shubham Bansal, davem; +Cc: netdev, ast

On 08/23/2017 05:59 PM, Shubham Bansal wrote:
> As eBPF JIT support for arm32 was added recently with
> commit 39c13c204bb1150d401e27d41a9d8b332be47c49, it seems appropriate to
> add arm32 as arch with support for eBPF JIT in bpf and sysctl docs as well.
>
> Signed-off-by: Shubham Bansal <illusionist.neo@gmail.com>

Acked-by: Daniel Borkmann <daniel@iogearbox.net>

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

* Re: [PATCH net-next] bpf, doc: Add arm32 as arch supporting eBPF JIT
  2017-08-23 15:59 [PATCH net-next] bpf, doc: Add arm32 as arch supporting eBPF JIT Shubham Bansal
  2017-08-23 16:55 ` Alexei Starovoitov
  2017-08-23 17:03 ` Daniel Borkmann
@ 2017-08-24  5:41 ` David Miller
  2 siblings, 0 replies; 4+ messages in thread
From: David Miller @ 2017-08-24  5:41 UTC (permalink / raw)
  To: illusionist.neo; +Cc: netdev, daniel, ast

From: Shubham Bansal <illusionist.neo@gmail.com>
Date: Wed, 23 Aug 2017 21:29:10 +0530

> As eBPF JIT support for arm32 was added recently with
> commit 39c13c204bb1150d401e27d41a9d8b332be47c49, it seems appropriate to
> add arm32 as arch with support for eBPF JIT in bpf and sysctl docs as well.
> 
> Signed-off-by: Shubham Bansal <illusionist.neo@gmail.com>

Applied.

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

end of thread, other threads:[~2017-08-24  5:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-23 15:59 [PATCH net-next] bpf, doc: Add arm32 as arch supporting eBPF JIT Shubham Bansal
2017-08-23 16:55 ` Alexei Starovoitov
2017-08-23 17:03 ` Daniel Borkmann
2017-08-24  5:41 ` David Miller

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).