On Wed, 20 Nov 2019 21:05:48 -0700 David Ahern <dsahern@xxxxxxxxx> wrote: > On 11/20/19 8:54 PM, Jason Wang wrote: > >> > >> The current error message is: > >> virtio_net: Too few free TX rings available > >> again, looking for some libvirt setting for the vm create. > >> > > > > Make sure you have sufficient queues, e.g if you N vcpus with multiqueue > > enabled, you need 2*N queues for virtio-net. > > yep, that did the trick and now I can attach xdp programs. Thanks for > the help. How did you configure number of queues in libbvirt? -- Best regards, Jesper Dangaard Brouer MSc.CS, Principal Kernel Engineer at Red Hat LinkedIn: http://www.linkedin.com/in/brouer