bpf-examples icon indicating copy to clipboard operation
bpf-examples copied to clipboard

Making eBPF programming easier via build env and examples

Results 34 bpf-examples issues
Sort by recently updated
recently updated
newest added

The [traffic-pacing-edt/codel_impl.h](https://github.com/xdp-project/bpf-examples/blob/master/traffic-pacing-edt/codel_impl.h) code implements a table lookup for the inverse square root. - as mentioned in PR #60 As Kathleen Nichols ( @kmnichols ) [point out](http://pollere.net/CoDelnotes.html) there's no need for...

Additionally, I am having difficulty compiling these examples and encountering various errors.

HI all: My env is centos 7. core is 5.15.46 (build by myself) gcc 11.2.1 clang 14.0.6 llvm 14.0.6 bpftool is v5.15.46 I do as following: 1: git clone https://github.com/xdp-project/bpf-examples.git...

Hi, I have a use case where packet forwarding is done between veth and NIC. I have two sockets. One for the veth queue and one for the NIC queue...

I am working through the bpf-examples, and for me the AF_XDP-forwarding test case fails . I have a fresh clone of xdp-project/bpf-examples and have just run the `configure` script and...

Hi I have a simple client that sends a single packet to the AF_XDP example application (l2fwd), waits for it to return, and then sends another one in forever while...

I want to run a userspace program to create AF_XDP socket and receive packet through this socket, but withput "sudo" and/or sysadmin capillitia. It is possible? I tried this https://github.com/xdp-project/xdp-tools/issues/320#issuecomment-1542338789...

hi sir/mam, we are trying to make load balancer , we are changing the source and destination IP and MAC and doing XDP_TX. but at the server end the packet...

I have a couple of questions regarding the implementation of `port_rx_burst` and `port_tx_burst` functions in the `AF_XDP-forwarding/xsk_fwd.c` file. 1. `poll` Call Position in `port_rx_burst`: In the `port_rx_burst` function, I am...

The performance of freeing LPM_TRIE maps suffers heavily for maps with a large number of entries. Here's a little demo that measures the duration of trie_free() and allows the user...