Bug 1698396
| Summary: | Boot vm with viommu as vhost user client mode, dpdk's testpmd can not receive packets | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux Fast Datapath | Reporter: | Sitong Liu <siliu> | ||||
| Component: | openvswitch2.11 | Assignee: | Open vSwitch development team <ovs-team> | ||||
| Status: | CLOSED NOTABUG | QA Contact: | Sitong Liu <siliu> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | FDP 19.A | CC: | atragler, chayang, ctrautma, fhallal, jhsiao, juzhang, ktraynor, ovs-qe, pezhang, qding, ralongi, tredaelli | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2019-04-18 11:27:09 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: | |||||||
| Attachments: |
|
||||||
|
Description
Sitong Liu
2019-04-10 10:04:11 UTC
Not sure if qemu as vhost user client mode is deprecated or not, but in rhel8 test testpmd can get packets in this mode. Versions: openvswitch2.11-2.11.0-4.el8fdp.x86_64 qemu-kvm-3.1.0-20.module+el8+2888+cdc893a8.x86_64 Hi, are you running qemu as a user that is a member of hugetlbfs group (see bz#1544948)? Also which card are you running on? We have some open issues with a vendor or two on viommu mode not working at all. This bug looks like same with: Bug 1551508 - Request for doc update about dpdkvhostuser port is not supported with vIOMMU. (In reply to Timothy Redaelli from comment #3) > Hi, > > are you running qemu as a user that is a member of hugetlbfs group (see > bz#1544948)? Thanks for reply. No, we run qemu as root by default. But after I added root to hugetlbfs group and updated conf file like below, sockets seem still in root group. # cat /etc/libvirt/qemu.conf group = "hugetlbfs" # cat /etc/sysconfig/openvswitch OVS_USER_ID="openvswitch:hugetlbfs" # ll /var/run/openvswitch/vhost-* srwxr-xr-x 1 root root 0 Apr 11 00:36 /var/run/openvswitch/vhost-* If I missed something, please correct me, thanks! (In reply to Christian Trautman from comment #4) > Also which card are you running on? We have some open issues with a vendor > or two on viommu mode not working at all. I am using ixgbe, we tested it with our first priority, please see: # dpdk-devbind --status Network devices using DPDK-compatible driver ============================================ 0000:5e:00.0 'Ethernet Controller 10-Gigabit X540-AT2 1528' drv=vfio-pci unused=ixgbe 0000:5e:00.1 'Ethernet Controller 10-Gigabit X540-AT2 1528' drv=vfio-pci unused=ixgbe 0000:5f:00.0 'Ethernet Controller 10-Gigabit X540-AT2 1528' drv=vfio-pci unused=ixgbe (In reply to Pei Zhang from comment #5) > This bug looks like same with: > > Bug 1551508 - Request for doc update about dpdkvhostuser port is not > supported with vIOMMU. Thanks for info! If IOMMU is not supported with vhost-user ports from OVS 2.10, can we suppose that rhel8 support this scenario with no meaning? If so, I will delete this case from our test plan, thanks! Best regards, Sitong Liu (In reply to Pei Zhang from comment #5) > This bug looks like same with: > > Bug 1551508 - Request for doc update about dpdkvhostuser port is not > supported with vIOMMU. Yes, it looks to be the same issue as reported there. See https://bugzilla.redhat.com/show_bug.cgi?id=1551508#c4 for further explanation as to why it's not supported. In summary, OVS "vhostuser" type ports are deprecated. vIOMMU=on with ovs:vhostuser + qemu:client is not a valid test. vIOMMU=on with ovs:vhostuserclient + qemu:server is a valid test. The docs were updated as part of #1551508, so closing as NOTABUG. |