On 4/3/24 10:47 AM, John Fastabend wrote:
on my todo list, I want
to just remove the map notion and bind progs to socks directly.
Run the bpf prog without the sockmap? +1, it would be nice.
but other than quick hacks I've never built such a thing nor ran it
in production.
How do you see the interface will look like (e.g. attaching the bpf prog to a sk) ?
It will be nice if the whole function (e.g. sk->sk_data_ready or may be some of
the sk->sk_prot) can be implemented completely in bpf. I don't have a concrete
use case for now but I think it will be powerful.
[ It is orthogonal to what Yonghong is doing, so the title changed ]