lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YWQIfIjqdm1fzZwu@lore-desk>
Date:   Mon, 11 Oct 2021 11:48:44 +0200
From:   Lorenzo Bianconi <lorenzo@...nel.org>
To:     Toke Høiland-Jørgensen <toke@...hat.com>
Cc:     Jakub Kicinski <kuba@...nel.org>, bpf@...r.kernel.org,
        netdev@...r.kernel.org, lorenzo.bianconi@...hat.com,
        davem@...emloft.net, 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 v15 bpf-next 00/18] mvneta: introduce XDP multi-buffer
 support

> Jakub Kicinski <kuba@...nel.org> writes:
> 
> > On Fri,  8 Oct 2021 14:49:38 +0200 Lorenzo Bianconi wrote:
> >> Changes since v14:
> >> - intrudce bpf_xdp_pointer utility routine and
> >>   bpf_xdp_load_bytes/bpf_xdp_store_bytes helpers
> >> - drop bpf_xdp_adjust_data helper
> >> - drop xdp_frags_truesize in skb_shared_info
> >> - explode bpf_xdp_mb_adjust_tail in bpf_xdp_mb_increase_tail and
> >>   bpf_xdp_mb_shrink_tail
> >
> > I thought the conclusion of the discussion regarding backward
> > compatibility was that we should require different program type
> > or other explicit opt in. Did I misinterpret?
> 
> No, you're right. I think we settled on using the 'flags' field instead
> of program type, but either way this should be part of the initial patch
> set.

ops, right. I will add it in the v16. Sorry for the noise.

Are you fine with bpf_xdp_load_bytes/bpf_xdp_store_bytes proposed solution?

Regards,
Lorenzo

> 
> -Toke
> 

Download attachment "signature.asc" of type "application/pgp-signature" (229 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ