My benchmarking with xdpsock was failing whenever I added '-z' to the '-N' option. Which is basically the XDP_ZEROCOPY flag to the AF_XDP setup call. I had the latest x710 firmware, and latest i40e driver on my ubuntu 18.04 box. I also had th 5.3.0 kernel as installed by: "sudo apt-get install --install-recommends linux-generic-hwe-18.04" To my surprise, xdpsock ... -N -z was failing with errno 95 Turns out the 5.3.0 kernel was the culprit that prevented '-z' working with '-N' (prevented XDP_ZEROCOPY working) I installed the bpf-next kernel found here: With this command: git clone git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git More info: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git/ I built the kernel using these directions: https://wiki.ubuntu.com/KernelTeam/GitKernelBuild And after rebooting and running on the 5.5 bpf-next kernel, -z and XDP_ZEROCOPY were working fine! Many many thanks to Magnus for his help tracking this down. I re-posted this under a better title (IMHO) to help others suffering the same fate to find it. Cameron Elliott