On 5/30/23 6:40 AM, Tariq Toukan wrote:
I initiated a discussion on this topic a few months ago. dynptr was accepted
since then, but I'm not aware of any in-progress followup work that addresses
this.
Are you saying some more work is needed on dynptr?
AFAIU yes.
But I might be wrong... I need to revisit this.
Do you think/know that dynptr can be used immediately?
Not sure if you are aware of the bpf_dynptr_slice[_rdwr]() which could be useful
here. It only does a copy when the requested slice is across different frags:
https://lore.kernel.org/all/20230301154953.641654-10-joannelkoong@xxxxxxxxx/