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