On Tue, 23 Aug 2022 00:59:01 -0700 John Fastabend <john.fastabend@xxxxxxxxx> wrote: > This API feels akward to me. Could you collapse this by using a dynamic pointer, > recently added? And drop the ptr_to_mem+const_size part at least? That seems > redundant with latest kernels. Hoo, nice. Wasn't aware of this new bpf_dynptr_kern, thanks! Will resubmit with a signature that gets 'opts' as ARG_PTR_TO_DYNPTR. Best Shmulik