[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170512151755.GB32630@lunn.ch>
Date: Fri, 12 May 2017 17:17:55 +0200
From: Andrew Lunn <andrew@...n.ch>
To: David Miller <davem@...emloft.net>
Cc: ast@...com, daniel@...earbox.net, netdev@...r.kernel.org
Subject: Re: [PATCH net-next] selftests/bpf: get rid of -D__x86_64__
On Fri, May 12, 2017 at 10:46:24AM -0400, David Miller wrote:
> From: Alexei Starovoitov <ast@...com>
> Date: Thu, 11 May 2017 22:07:04 -0700
>
> > On 5/11/17 6:29 PM, David Miller wrote:
> >> This whole thing go me thinking however. What do you expect to happen
> >> on 32-bit architectures implementing an eBPF JIT?
> >
> > I doubt any 32-bit cpu architectures will do JIT in the near future.
>
> ARM 32-bit is being implemented as we speak, in fact it's been discussed
> on this very list over the past week.
It could be XDP is interesting on small embedded systems, i.e ARM32
and MIPS, used in WiFi access points and the like. I've heard it said
that the Linux network stack has become too big to run well on these
systems, it no longer fits in the instruction cache. It would be
interesting to see if XDP/eBPF can be used for handling part of the
packet load without thrashing the instruction cache.
Andrew
Powered by blists - more mailing lists