Re: Need to increase the rx and tx buffer size of my interface

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

 



Hi Michal,

Mine is 

iplab@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@xxxxxxxxxx> 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

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux