Magnus Karlsson
Magnus Karlsson
My answers/questions: 1: If you are not using need_wakeup, you should ignore this flag. It is hardcoded to 1 if you are not using it, this so that applications that...
You will get the default config parameters if you enter NULL as your cfg. If you specify any flags, then there is no fallback. What you specify is what you...
> @magnus-karlsson Please correct me if I'm wrong > > There are some exceptions, for example, in the Linux source code itself, there is an observation saying that if the...
> waqas-hafique ***@***.***> writes: > @tohojo yes I do face the error you mentioned as I asked here ``` #343 ``` so you mean the stmmac driver didn't gain XDP...
Yes, but there is no point in doing this. You will likely just slow down your application somewhat.
It all depends on what exact combination of netdev and queue id you are trying to bind to in the two processes. There are two modes: one if they are...
> Thanks for your help! I think what I try to do is that use two mode both. E.g. I have two veth: veth1, veth2, both of them have one...
The same restrictions apply. xsk_socket__create_shared() is just xsk_socket__create() with the ability to specify fill and completion rings.
You have to set desc->addr to the start of what you would like to send. It does not care about any frame_headroom. In fact, this is only for the Rx...
There was a C-based example in samples/bpf/xdpsock_ctrl_proc.c and xdpsock_user.c in kernels prior to 6.0 (I removed it in that release). Do not know if that will help you. If you...