[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAADnVQJ=fP0Uc7U6=Tefegt1D6tMj2vvAs4NRNXATPbago1xJw@mail.gmail.com>
Date: Mon, 10 Jun 2019 23:36:09 -0700
From: Alexei Starovoitov <alexei.starovoitov@...il.com>
To: Jonathan Lemon <jonathan.lemon@...il.com>
Cc: Björn Töpel <bjorn.topel@...el.com>,
"Karlsson, Magnus" <magnus.karlsson@...el.com>,
Toke Høiland-Jørgensen <toke@...hat.com>,
Jesper Dangaard Brouer <brouer@...hat.com>,
Daniel Borkmann <daniel@...earbox.net>,
Alexei Starovoitov <ast@...nel.org>,
Kernel Team <kernel-team@...com>,
Network Development <netdev@...r.kernel.org>
Subject: Re: [PATCH v5 bpf-next 0/4] Better handling of xskmap entries
On Thu, Jun 6, 2019 at 1:59 PM Jonathan Lemon <jonathan.lemon@...il.com> wrote:
>
> Currently, the AF_XDP code uses a separate map in order to
> determine if an xsk is bound to a queue. Have the xskmap
> lookup return a XDP_SOCK pointer on the kernel side, which
> the verifier uses to extract relevant values.
>
> Patches:
> 1 - adds XSK_SOCK type
> 2 - sync bpf.h with tools
> 3 - add tools selftest
> 4 - update lib/bpf, removing qidconf
>
> v4->v5:
> - xskmap lookup now returns XDP_SOCK type instead of pointer to element.
> - no changes lib/bpf/xsk.c
Applied. Thanks
Powered by blists - more mailing lists