On Wed, 22 Jan 2020 12:02:23 -0600 Christian Deacon <gamemann@xxxxxxxxxxx> wrote: > Hey everyone, > > I am new to XDP + AF_XDP (along with C programming in general), but I am > very interested in it and I've been learning a lot recently. I own an > Anycast network and our POP servers are running custom software our > developer created that processes packets using XDP. This software > basically forwards specific traffic to another machine via an IPIP > tunnel. Why are you using AF_XDP to implement a simple IPIP tunnel header? You can easily implement it in BPF. Example here: https://github.com/torvalds/linux/blob/master/samples/bpf/xdp_tx_iptunnel_kern.c#L110-L112 -- Best regards, Jesper Dangaard Brouer MSc.CS, Principal Kernel Engineer at Red Hat LinkedIn: http://www.linkedin.com/in/brouer