Magnus Karlsson

Results 70 comments of Magnus Karlsson

Polling is optional, so no problem. But please try latest bpf-next. 5.4 is more than 2 years old.

I have not seen this before, but that does not mean it is not real ;-). The user app has not changed much since 5.4. The kernel together with the...

bpftrace is your best friend. You can find a good tutorial here: https://www.brendangregg.com/blog/2019-01-01/learn-ebpf-tracing.html You need to scroll down one or two pages to find bpftrace.

The counters are ever increasing so we do not have to test for any wrap around. Improves performance. bpftrace is useful for debugging. Sorry, but do not understand the "sending...

Please check the statistics with XDP_STATISTICS getsockopt to see that you do not have any errors that might explain why you are not seeing packets. Are you running in SKB...

OK. Just wondered because in skb mode there are cases in which the packet will be dropped by the driver so you would have to watch the return values of...

It is up to user-space to make sure that overrides do not happen. You basically need a mempool to manage he umem, like the ones that exist in DPDK and...

I have not heard of any AF_XDP Python libraries either. Go and Rust yes. But Python, do not think so. But on the other hand, nobody would tell me :-)....

On Thu, Aug 19, 2021 at 12:34 PM atulbari-samespace < ***@***.***> wrote: > Hi @magnus-karlsson > Can u share link for AF_XDP Go library > Do not know off the...

On Mon, Mar 2, 2020 at 8:21 PM Simon Hardy-Francis wrote: > I asked @magnus-karlsson (who added > XDP_SHARED_UMEM to the xdpsock example code in the Linux source tree) via...