support for multiple and dynamic addition of ebpf prog to xdp
sachintiptur opened this issue · comments
Hi All,
I am looking to plug in multiple ebpf programs on xdp hook, so is there any support for it.
a. Adding multiple ebpf programs at xdp, apart from baf tail calls any other way to do?
b. Adding a program as bpf tail call dynamically to an already attached ebpf program on xdp.
I am using kernel version 5.8.0-43
Thanks,
Sachin
Okay. I will go through libxdp. In this case I will upgrade to 5.10 and try.
-
Currently I am using python for user space program and loading xdp programs, looks like there is no libxdp support in python.
With kernel 5.10, can I load existing xdp program from python and can I write one more user space prog in C to load and attach another xdp program dynamically?.
How the sequence of xdp progs is decided? Is it in the order of loading? -
In one of the previous issues you mentioned xdp support for multicast and cloning is under dev. is it available in 5.10 ?
ok, thank you.
I will explore command line tool.
Yeah, i will open an issue and also try to look into the existing python binding implementation of libbpf, to know the complexity of it.