[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YWmCLlLelmG2ElyV@lore-desk>
Date: Fri, 15 Oct 2021 15:29:18 +0200
From: Lorenzo Bianconi <lorenzo@...nel.org>
To: Toke Høiland-Jørgensen <toke@...hat.com>
Cc: bpf@...r.kernel.org, netdev@...r.kernel.org,
lorenzo.bianconi@...hat.com, davem@...emloft.net, kuba@...nel.org,
ast@...nel.org, daniel@...earbox.net, shayagr@...zon.com,
john.fastabend@...il.com, dsahern@...nel.org, brouer@...hat.com,
echaudro@...hat.com, jasowang@...hat.com,
alexander.duyck@...il.com, saeed@...nel.org,
maciej.fijalkowski@...el.com, magnus.karlsson@...el.com,
tirthendu.sarkar@...el.com
Subject: Re: [PATCH v16 bpf-next 09/20] bpf: introduce BPF_F_XDP_MB flag in
prog_flags loading the ebpf program
> Lorenzo Bianconi <lorenzo@...nel.org> writes:
>
> > Introduce BPF_F_XDP_MB and the related field in bpf_prog_aux in order to
> > notify the driver the loaded program support xdp multi-buffer.
>
> We should also add some restrictions in the BPF core. In particular,
> tail call, cpumap and devmap maps should not be able to mix multi-buf
> and non-multibuf programs.
ack. How can we detect if a cpumap or a devmap is running in XDP multi-buff
mode in order to reject loading the legacy XDP program?
Should we just discard the XDP multi-buff in this case?
Lorenzo
>
> -Toke
>
Download attachment "signature.asc" of type "application/pgp-signature" (229 bytes)
Powered by blists - more mailing lists