[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <304304ec-6c84-557f-883a-91de1e512cfb@iogearbox.net>
Date: Fri, 9 Nov 2018 10:38:27 +0100
From: Daniel Borkmann <daniel@...earbox.net>
To: Nitin Hande <nitin.hande@...il.com>
Cc: Alexei Starovoitov <alexei.starovoitov@...il.com>,
Joe Stringer <joe@...d.net.nz>, Martin Lau <kafai@...com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
Jesper Dangaard Brouer <brouer@...hat.com>,
John Fastabend <john.fastabend@...il.com>
Subject: Re: [PATCH v2 bpf-next] bpf: Extend the sk_lookup() helper to XDP
hookpoint.
On 10/29/2018 05:02 AM, Nitin Hande wrote:
>
> This patch proposes to extend the sk_lookup() BPF API to the
> XDP hookpoint. The sk_lookup() helper supports a lookup
> on incoming packet to find the corresponding socket that will
> receive this packet. Current support for this BPF API is
> at the tc hookpoint. This patch will extend this API at XDP
> hookpoint. A XDP program can map the incoming packet to the
> 5-tuple parameter and invoke the API to find the corresponding
> socket structure.
>
> Signed-off-by: Nitin Hande <Nitin.Hande@...il.com>
Looks good to me, applied to bpf-next, thanks Nitin!
Powered by blists - more mailing lists