[libvirt-users] Need to increase the rx and tx buffer size of my interface

Ashish Kurian ashishbnv at gmail.com
Thu Oct 26 08:50:17 UTC 2017


Hi Michal,

Mine is

iplab at iceman:~$ libvirtd --version
libvirtd (libvirt) 1.3.1

I think this can be the issue. I will update and try again



Best Regards,
Ashish Kurian

On Thu, Oct 26, 2017 at 10:46 AM, Michal Privoznik <mprivozn at redhat.com>
wrote:

> On 10/26/2017 10:38 AM, Ashish Kurian wrote:
> > Hi Yalan and Michal,
> >
> > Thank you for your response. So what I understand is that I can change
> > rx_queue size even if I use direct type interface and qemu driver as long
> > as the driver is virtio. Am I right?
>
> Yes.
>
> > If that is the case why am I getting
> > the error saying that
> >
> > error: XML document failed to validate against schema: Unable to validate
> > doc against /usr/share/libvirt/schemas/domain.rng
> > Extra element devices in interleave
> > Element domain failed to validate content
>
> What's your libvirt version? For rx_queue_size you need 2.3.0 or newer.
> For tx_queue_size you need 3.7.0 or newer (not that there's one yet).
>
> >
> > for the following xml config? Btw I changed vepa to bridged mode hoping
> it
> > would help me. Also note that I tried the following without any driver
> name
> > and it still failed.
> >
> >
> > <interface type='direct'>
> >       <mac address='52:54:00:72:f9:eb'/>
> >       <source dev='enp7s0f0' mode='bridge'/>
> >       <model type='virtio'/>
> >       <driver name='qemu' queues='5' rx_queue_size='512'>
> >         <host csum='off' gso='off' tso4='off' tso6='off' ecn='off'
> > ufo='off' mrg_rxbuf='off'/>
> >         <guest csum='off' tso4='off' tso6='off' ecn='off' ufo='off'/>
> >       </driver>
> >
>
> This works for me. I'm running recent git.
>
> Michal
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20171026/fd9abda8/attachment.htm>


More information about the libvirt-users mailing list