From: Jesper Dangaard Brouer <brouer@redhat.com>
To: Alexei Starovoitov <ast@fb.com>
Cc: "David S . Miller" <davem@davemloft.net>,
Daniel Borkmann <daniel@iogearbox.net>,
Tom Herbert <tom@herbertland.com>,
Jamal Hadi Salim <jhs@mojatatu.com>, Thomas Graf <tgraf@suug.ch>,
<netdev@vger.kernel.org>,
brouer@redhat.com
Subject: Re: [PATCH RFC 0/2] ila: ilarouter bpf code for tc and xdp
Date: Fri, 23 Sep 2016 20:06:52 +0200 [thread overview]
Message-ID: <20160923200652.5a8d5dff@redhat.com> (raw)
In-Reply-To: <1474650995-2031928-1-git-send-email-ast@fb.com>
On Fri, 23 Sep 2016 10:16:33 -0700 Alexei Starovoitov <ast@fb.com> wrote:
> From: Aaron Yue <haoxuany@andrew.cmu.edu>
>
> Jesper,
>
> here is old email and cover letter that didn't make it to the list
> due to vger outage (I guess).
> The verifier patch that Aaron is talking about has landed long ago.
>
> The dataplane of ILA router is very short and simple.
Yes, looks very simple indeed! Cool! :-)
> Control plane is very different matter. It's not ready for prime time yet.
>
> ----------
>
> This patch contains the tc and xdp implementation of kernelspace bpf code.
> It requires userspace to insert to the ILA bpf maps, in tc's case, the
> precomputed ILA mappings, and in xdp's case, both the precomputed ILA
> mappings and the MAC address.
>
> The xdp bpf code also requires a verifier patch to allow direct map access
> from the packet (will be patched in by Alexei).
>
> Aaron Yue (2):
> samples/bpf: ilarouter for tc
> samples/bpf: ilarouter for xdp
>
> samples/bpf/Makefile | 2 +
> samples/bpf/ila.h | 80 ++++++++++++++++++++++++++++
> samples/bpf/ilarouter_tc.c | 124 ++++++++++++++++++++++++++++++++++++++++++++
> samples/bpf/ilarouter_xdp.c | 88 +++++++++++++++++++++++++++++++
> samples/bpf/inet_helper.h | 38 ++++++++++++++
> 5 files changed, 332 insertions(+)
> create mode 100644 samples/bpf/ila.h
> create mode 100644 samples/bpf/ilarouter_tc.c
> create mode 100644 samples/bpf/ilarouter_xdp.c
> create mode 100644 samples/bpf/inet_helper.h
--
Best regards,
Jesper Dangaard Brouer
MSc.CS, Principal Kernel Engineer at Red Hat
Author of http://www.iptv-analyzer.org
LinkedIn: http://www.linkedin.com/in/brouer
prev parent reply other threads:[~2016-09-23 18:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-23 17:16 [PATCH RFC 0/2] ila: ilarouter bpf code for tc and xdp Alexei Starovoitov
2016-09-23 17:16 ` [PATCH RFC 1/2] samples/bpf: ilarouter for tc Alexei Starovoitov
2016-09-23 17:16 ` [PATCH RFC 2/2] samples/bpf: ilarouter for xdp Alexei Starovoitov
2016-09-23 18:06 ` Jesper Dangaard Brouer [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=20160923200652.5a8d5dff@redhat.com \
--to=brouer@redhat.com \
--cc=ast@fb.com \
--cc=daniel@iogearbox.net \
--cc=davem@davemloft.net \
--cc=jhs@mojatatu.com \
--cc=netdev@vger.kernel.org \
--cc=tgraf@suug.ch \
--cc=tom@herbertland.com \
/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).