Bug 1754708
| Summary: | [8.2] backport virtio packed virtqueue support | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Kiersten (Kerri) Anderson <kanderso> |
| Component: | dpdk | Assignee: | Jens Freimann <jfreiman> |
| Status: | CLOSED WONTFIX | QA Contact: | Jean-Tsung Hsiao <jhsiao> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 8.2 | CC: | aadam, ailan, fhallal, jfreiman, jhsiao, jwboyer, maxime.coquelin, ovs-qe, qding, tredaelli |
| Target Milestone: | rc | Flags: | pm-rhel:
mirror+
|
| Target Release: | 8.2 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1700373 | Environment: | |
| Last Closed: | 2021-03-24 07:30:20 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1700373 | ||
| Bug Blocks: | |||
|
Comment 2
Jens Freimann
2019-10-16 11:11:42 UTC
Hi Jens, I assume that dpdk-19.11-4.el8 is to be tested for External Snapshot 2. Thanks! Jean [root@netqe30 cilium]# rpm -q dpdk dpdk-19.11-4.el8.x86_64 [beaker-BaseOS] name=beaker-BaseOS baseurl=http://download.eng.bos.redhat.com/rhel-8/rel-eng/RHEL-8/RHEL-8.2.0-20200227.0/compose/BaseOS/x86_64/os enabled=1 gpgcheck=0 skip_if_unavailable=1 Passed the PvP 0-loss test --- 7.54 Mpps throughput rate.
Attached below is test related information.
*** Guest ***
[root@localhost ~]# rpm -q dpdk
dpdk-19.11-4.el8.x86_64
[root@localhost ~]# uname -r
4.18.0-187.el8.x86_64
[root@localhost ~]# cat testpmd.sh
testpmd -l 0,1,2,3,4 -n 1 -w 0000:00:03.0 -w 0000:00:09.0 --socket-mem 4096 -- -i --nb-cores=4 --rxq=2 --txq=2 --rxd=1024 --txd=1024
[root@localhost ~]#
[root@netqe7 images]# virsh dumpxml master
<domain type='kvm' id='12'>
<name>master</name>
<uuid>9ad5d03c-5fb1-4bf5-981d-c68b6b80a410</uuid>
<metadata>
<libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
<libosinfo:os id="http://redhat.com/rhel/8.2"/>
</libosinfo:libosinfo>
</metadata>
<memory unit='KiB'>8388608</memory>
<currentMemory unit='KiB'>8388608</currentMemory>
<memoryBacking>
<hugepages>
<page size='1048576' unit='KiB'/>
</hugepages>
</memoryBacking>
<vcpu placement='static'>5</vcpu>
<cputune>
<vcpupin vcpu='0' cpuset='0'/>
<vcpupin vcpu='1' cpuset='1'/>
<vcpupin vcpu='2' cpuset='9'/>
<vcpupin vcpu='3' cpuset='3'/>
<vcpupin vcpu='4' cpuset='11'/>
<emulatorpin cpuset='4,12'/>
</cputune>
<resource>
<partition>/machine</partition>
</resource>
<os>
<type arch='x86_64' machine='pc-q35-rhel7.6.0'>hvm</type>
<boot dev='hd'/>
</os>
<features>
<acpi/>
<apic/>
</features>
<cpu mode='custom' match='exact' check='full'>
<model fallback='forbid'>Haswell-noTSX-IBRS</model>
<vendor>Intel</vendor>
<feature policy='require' name='vme'/>
<feature policy='require' name='ss'/>
<feature policy='require' name='vmx'/>
<feature policy='require' name='f16c'/>
<feature policy='require' name='rdrand'/>
<feature policy='require' name='hypervisor'/>
<feature policy='require' name='arat'/>
<feature policy='require' name='tsc_adjust'/>
<feature policy='require' name='umip'/>
<feature policy='require' name='md-clear'/>
<feature policy='require' name='stibp'/>
<feature policy='require' name='arch-capabilities'/>
<feature policy='require' name='ssbd'/>
<feature policy='require' name='xsaveopt'/>
<feature policy='require' name='pdpe1gb'/>
<feature policy='require' name='abm'/>
<feature policy='require' name='skip-l1dfl-vmentry'/>
<numa>
<cell id='0' cpus='0-4' memory='8388608' unit='KiB' memAccess='shared'/>
</numa>
</cpu>
<clock offset='utc'>
<timer name='rtc' tickpolicy='catchup'/>
<timer name='pit' tickpolicy='delay'/>
<timer name='hpet' present='no'/>
</clock>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<pm>
<suspend-to-mem enabled='no'/>
<suspend-to-disk enabled='no'/>
</pm>
<devices>
<emulator>/usr/libexec/qemu-kvm</emulator>
<disk type='file' device='disk'>
<driver name='qemu' type='qcow2'/>
<source file='/var/lib/libvirt/images/master.qcow2'/>
<backingStore/>
<target dev='vda' bus='virtio'/>
<alias name='virtio-disk0'/>
<address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
</disk>
<controller type='usb' index='0' model='qemu-xhci' ports='15'>
<alias name='usb'/>
<address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
</controller>
<controller type='sata' index='0'>
<alias name='ide'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
</controller>
<controller type='pci' index='0' model='pcie-root'>
<alias name='pcie.0'/>
</controller>
<controller type='pci' index='1' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='1' port='0x8'/>
<alias name='pci.1'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/>
</controller>
<controller type='pci' index='2' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='2' port='0x9'/>
<alias name='pci.2'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
</controller>
<controller type='pci' index='3' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='3' port='0xa'/>
<alias name='pci.3'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
</controller>
<controller type='pci' index='4' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='4' port='0xb'/>
<alias name='pci.4'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x3'/>
</controller>
<controller type='pci' index='5' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='5' port='0xc'/>
<alias name='pci.5'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x4'/>
</controller>
<controller type='pci' index='6' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='6' port='0xd'/>
<alias name='pci.6'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x5'/>
</controller>
<controller type='pci' index='7' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='7' port='0xe'/>
<alias name='pci.7'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x6'/>
</controller>
<controller type='virtio-serial' index='0'>
<alias name='virtio-serial0'/>
<address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
</controller>
<interface type='vhostuser'>
<mac address='52:54:00:e4:d2:0d'/>
<source type='unix' path='/tmp/vhost0' mode='server'/>
<target dev='vhost0'/>
<model type='virtio'/>
<driver name='vhost' queues='2'/>
<alias name='net0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
</interface>
<interface type='vhostuser'>
<mac address='52:54:00:a4:fb:e2'/>
<source type='unix' path='/tmp/vhost1' mode='server'/>
<target dev='vhost1'/>
<model type='virtio'/>
<driver name='vhost' queues='2'/>
<alias name='net1'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/>
</interface>
<interface type='bridge'>
<mac address='52:54:00:50:9a:b5'/>
<source bridge='virbr0'/>
<target dev='vnet0'/>
<model type='virtio'/>
<alias name='net2'/>
<address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
</interface>
<serial type='pty'>
<source path='/dev/pts/2'/>
<target type='isa-serial' port='0'>
<model name='isa-serial'/>
</target>
<alias name='serial0'/>
</serial>
<serial type='file'>
<source path='/tmp/master.console'/>
<target type='isa-serial' port='1'>
<model name='isa-serial'/>
</target>
<alias name='serial1'/>
</serial>
<console type='pty' tty='/dev/pts/2'>
<source path='/dev/pts/2'/>
<target type='serial' port='0'/>
<alias name='serial0'/>
</console>
<channel type='unix'>
<source mode='bind' path='/var/lib/libvirt/qemu/channel/target/domain-12-master/org.qemu.guest_agent.0'/>
<target type='virtio' name='org.qemu.guest_agent.0' state='connected'/>
<alias name='channel0'/>
<address type='virtio-serial' controller='0' bus='0' port='1'/>
</channel>
<input type='mouse' bus='ps2'>
<alias name='input0'/>
</input>
<input type='keyboard' bus='ps2'>
<alias name='input1'/>
</input>
<memballoon model='virtio'>
<alias name='balloon0'/>
<address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
</memballoon>
<rng model='virtio'>
<backend model='random'>/dev/urandom</backend>
<alias name='rng0'/>
<address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
</rng>
</devices>
<seclabel type='dynamic' model='selinux' relabel='yes'>
<label>system_u:system_r:svirt_t:s0:c97,c331</label>
<imagelabel>system_u:object_r:svirt_image_t:s0:c97,c331</imagelabel>
</seclabel>
<seclabel type='dynamic' model='dac' relabel='yes'>
<label>+107:+1001</label>
<imagelabel>+107:+1001</imagelabel>
</seclabel>
</domain>
[root@netqe7 images]#
*** Host ***
root@netqe7 images]# ovs-vsctl show
4070d294-1918-4991-8dd4-41f12d31f290
Bridge ovsbr0
datapath_type: netdev
Port ovsbr0
Interface ovsbr0
type: internal
Port vhost1
Interface vhost1
type: dpdkvhostuserclient
options: {vhost-server-path="/tmp/vhost1"}
Port dpdk1
Interface dpdk1
type: dpdk
options: {dpdk-devargs="0000:83:00.1", n_rxq="2"}
Port vhost0
Interface vhost0
type: dpdkvhostuserclient
options: {vhost-server-path="/tmp/vhost0"}
Port dpdk0
Interface dpdk0
type: dpdk
options: {dpdk-devargs="0000:83:00.0", n_rxq="2"}
ovs_version: "2.13.0"
[root@netqe7 images]# rpm -q openvswitch2.13
openvswitch2.13-2.13.0-7.el8fdb.x86_64
[root@netqe7 images]# uname -r
4.18.0-187.el8.x86_64
(In reply to Jean-Tsung Hsiao from comment #4) > Hi Jens, > I assume that dpdk-19.11-4.el8 is to be tested for External Snapshot 2. > Thanks! > Jean > > [root@netqe30 cilium]# rpm -q dpdk > dpdk-19.11-4.el8.x86_64 > > [beaker-BaseOS] > name=beaker-BaseOS > baseurl=http://download.eng.bos.redhat.com/rhel-8/rel-eng/RHEL-8/RHEL-8.2.0- > 20200227.0/compose/BaseOS/x86_64/os > enabled=1 > gpgcheck=0 > skip_if_unavailable=1 sorry for the late reply. yes, dpdk-19.11-4.el8 After evaluating this issue, there are no plans to address it further or fix it in an upcoming release. Therefore, it is being closed. If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened. |