xdp-tutorial icon indicating copy to clipboard operation
xdp-tutorial copied to clipboard

XDP tutorial

Results 162 xdp-tutorial issues
Sort by recently updated
recently updated
newest added

I successfully managed to run the advanced03 AF_XDP assignment. As an example, the command below shows a ping and while the XDP program is active then 4 of the 7...

I am having an interesting observation. If I am receiving network packets through the nic, while loading xdp my throughout is getting reduced (this throughput is consistent with a reduction...

After going through tutorial in packet03, I tried redirecting packets send to one docker instance to another container using xdp. I followed instruction provided in assignment 3 in packet03 to...

Do we support jumbo frame in xdp. Any huge page concepts will work here ?

1、code like this: #include #define SEC(NAME) __attribute__((section(NAME), used)) SEC("xdp") int xdp_drop_the_world(struct xdp_md *ctx) { // drop everything return XDP_DROP; } char _license[] SEC("license") = "GPL"; 2、ubuntu@demo:~$ clang -O2 -target bpf...

What advantage xdp will give over Linux kernel in cases like sending packets, receiving packets in user space etc in terms of throughput etc Theoretically how to explain the advantage...

In https://github.com/xdp-project/xdp-tutorial/tree/master/packet02-rewriting#enlarging-and-shrinking-packet-size, it mentions "there is not enough space in memory before the start of the packet (packet data is put at a fixed offset from the start of the...

I have tried poll with zero timeout, but it's not returning unless there is a packet. Is it something related to the driver ? Any driver parameter I have to...

I am trying to use basic-02-prog-by-name as a skeleton to compile and load a bpf program that uses multiple maps. The problem is, when I define multiple maps, each with...

I am having an interesting observation. I am trying to send packet with the help of af_xdp socket. The code is working well when I am sending packet from a...