Re: [PATCH bpf-next] bpf: Add bpf_[skb|xdp]_packet_hash.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Sep 8, 2022 at 8:54 AM Harsh Modi <harshmodi@xxxxxxxxxx> wrote:
>
> > What are your thoughts on having a more generic hashing helper?
>
> I didn't make the connection that dynptrs could also reference packet data... Would dynptrs also handle multi buffer support in both skb and xdp or would we have to pull all the data into a contiguous location first?

skb and xdp dynptrs haven't been merged in yet, the latest thread on
this is here: https://lore.kernel.org/bpf/20220907183129.745846-1-joannelkoong@xxxxxxxxx/

Dynptrs can handle multibuffer support in skb and xdp for the program,
it will pull in non-linear data as part of bpf_dynptr_write() if the
write is to a frag in the skb



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux