Re: error loading xdp program on virtio nic

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux Networking Development]     [Fedora Linux Users]     [Linux SCTP]     [DCCP]     [Gimp]     [Yosemite Campsites]

  Powered by Linux