search for: tx_queue_siz

Displaying 18 results from an estimated 18 matches for "tx_queue_siz".

Did you mean: tx_queue_size
2017 Oct 26
5
Re: Need to increase the rx and tx buffer size of my interface
...e tested with your xml in the first mail, and it works for rx_queue_size(see below). multiqueue need to work with vhost backend driver. And when you set "queues=1" it will ignored. Please check your qemu-kvm-rhev package, should be newer than qemu-kvm-rhev-2.9.0-16.el7_4.2 And the logs? tx_queue_size='512' will not work in the guest with direct type interface, in fact, no matter what you set, it will not work and guest will get the default '256'. We only support vhost-user backend to have more than 256. refer to https://libvirt.org/formatdomain.html#elementsNICSEthernet tx_que...
2017 Oct 25
2
Re: Need to increase the rx and tx buffer size of my interface
...ts why I saw 256 again after restarting. So now I tried again to edit the xml via virsh edit command and used the following to set the parameters. <driver name='qemu' txmode='iothread' ioeventfd='on' event_idx='off' queues='1' rx_queue_size='512' tx_queue_size='512'> </driver> It was not accepted and I got the error saying : 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 does...
2017 Oct 26
2
Re: Need to increase the rx and tx buffer size of my interface
Hi Ashish, IMO, it is yes, no way to increase tx_queue_size for direct type interface ------- Best Regards, Yalan Zhang IRC: yalzhang Internal phone: 8389413 On Thu, Oct 26, 2017 at 3:38 PM, Ashish Kurian <ashishbnv@gmail.com> wrote: > Hi Yalan, > > In the previous email you mentioned "tx_queue_size='512' will not work i...
2017 Oct 26
0
Re: Need to increase the rx and tx buffer size of my interface
...nd it works for rx_queue_size(see > below). > multiqueue need to work with vhost backend driver. And when you set > "queues=1" it will ignored. > > Please check your qemu-kvm-rhev package, should be newer than > qemu-kvm-rhev-2.9.0-16.el7_4.2 > And the logs? > > tx_queue_size='512' will not work in the guest with direct type interface, > in fact, no matter what you set, it will not work and guest will get the > default '256'. > We only support vhost-user backend to have more than 256. refer to > https://libvirt.org/formatdomain.html#elements...
2017 Oct 26
0
Re: Need to increase the rx and tx buffer size of my interface
Hi Yalan, In the previous email you mentioned "tx_queue_size='512' will not work in the guest with direct type interface, in fact, no matter what you set, it will not work and guest will get the default '256'. " So if I am using macvtap for my interfaces, then the device type will always be direct type. Does it mean that there is no wa...
2017 Oct 26
0
Re: Need to increase the rx and tx buffer size of my interface
...guest csum='off' tso4='off' tso6='off' ecn='off' ufo='off'/> </driver> Best Regards, Ashish Kurian On Thu, Oct 26, 2017 at 10:01 AM, Yalan Zhang <yalzhang@redhat.com> wrote: > Hi Ashish, > > IMO, it is yes, no way to increase tx_queue_size for direct type interface > > > > > > > ------- > Best Regards, > Yalan Zhang > IRC: yalzhang > Internal phone: 8389413 > > On Thu, Oct 26, 2017 at 3:38 PM, Ashish Kurian <ashishbnv@gmail.com> > wrote: > >> Hi Yalan, >> >> In the...
2017 Oct 25
2
Need to increase the rx and tx buffer size of my interface
...s follows. <interface type='direct'> <mac address='52:54:00:72:f9:eb'/> <source dev='enp7s0f0' mode='vepa'/> <model type='virtio'/> <driver name='vhost' queues='5' rx_queue_size='512' tx_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'/> </...
2017 Oct 25
0
Re: Need to increase the rx and tx buffer size of my interface
Hi Michal, An update to what I have already said : when I try adding <driver name='qemu' txmode='iothread' ioeventfd='on' event_idx='off' queues='1' rx_queue_size='512' tx_queue_size='512'> although it showed me the error as mentioned, when I checked the xml again I saw that <driver name='qemu' txmode='iothread' ioeventfd='on' event_idx='off' > is added to the interface. The missing parameters are : queues='1' rx_queue_...
2017 Oct 26
2
Re: Need to increase the rx and tx buffer size of my interface
...; 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&...
2017 Oct 25
0
Re: Need to increase the rx and tx buffer size of my interface
...type='direct'> > <mac address='52:54:00:72:f9:eb'/> > <source dev='enp7s0f0' mode='vepa'/> > <model type='virtio'/> > <driver name='vhost' queues='5' rx_queue_size='512' > tx_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'/&...
2018 Oct 10
1
SR-IOV Trust Setting
...from SR-IOV device? Lookin at https://www.libvirt.org/formatdomain.html#elementsDriverBackendOptions can this be done through the driver element? *<driver name='vhost' txmode='iothread' ioeventfd='on' event_idx='off' queues='5' rx_queue_size='256' tx_queue_size='256'> <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...
2017 Dec 23
1
Question about disabling UFO on guest
...ork'> <source network='default'/> <target dev='vnet1'/> <model type='virtio'/> <driver name='vhost' txmode='iothread' ioeventfd='on' event_idx='off' queues='5' rx_queue_size='256' tx_queue_size='256'> *<host gso='off' ufo='off' />* *<guest ufo='off'/>* </driver> </interface> </devices> Then I reboot my node to get the change effect and it works. However, can I disable the UFO without touching the...
2017 Oct 26
0
Re: Need to increase the rx and tx buffer size of my interface
...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. > > >...
2017 Oct 26
1
Re: Need to increase the rx and tx buffer size of my interface
...e 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 s...
2018 Jan 05
0
[PATCH v4 3/3] qemu: add linkspeed and duplex settings to virtio-net
..._PROP_END_OF_LIST(), }; diff --git a/include/hw/virtio/virtio-net.h b/include/hw/virtio/virtio-net.h index e7634c9..02484dc 100644 --- a/include/hw/virtio/virtio-net.h +++ b/include/hw/virtio/virtio-net.h @@ -38,6 +38,9 @@ typedef struct virtio_net_conf uint16_t rx_queue_size; uint16_t tx_queue_size; uint16_t mtu; + int32_t speed; + char *duplex_str; + uint8_t duplex; } virtio_net_conf; /* Maximum packet size we can receive from tap device: header + 64k */ diff --git a/include/standard-headers/linux/virtio_net.h b/include/standard-headers/linux/virtio_net.h index 30ff249..17...
2018 Jan 05
5
[PATCH v4 0/3] virtio_net: allow hypervisor to indicate linkspeed and duplex setting
We have found it useful to be able to set the linkspeed and duplex settings from the host-side for virtio_net. This obviates the need for guest changes and settings for these fields, and does not require custom ethtool commands for virtio_net. The ability to set linkspeed and duplex is useful in various cases as described here: 16032be virtio_net: add ethtool support for set and get of settings
2017 Dec 22
6
[PATCH 2/3] qemu: use 64-bit values for feature flags in virtio-net
In prepartion for using some of the high order feature bits, make sure that virtio-net uses 64-bit values everywhere. Signed-off-by: Jason Baron <jbaron at akamai.com> Cc: "Michael S. Tsirkin" <mst at redhat.com> Cc: Jason Wang <jasowang at redhat.com> --- hw/net/virtio-net.c | 54 +++++++++++++++++++++--------------------- include/hw/virtio/virtio-net.h |
2018 Jan 04
5
[PATCH v3 0/3] virtio_net: allow hypervisor to indicate linkspeed and duplex setting
We have found it useful to be able to set the linkspeed and duplex settings from the host-side for virtio_net. This obviates the need for guest changes and settings for these fields, and does not require custom ethtool commands for virtio_net. The ability to set linkspeed and duplex is useful in various cases as described here: 16032be virtio_net: add ethtool support for set and get of settings