Wednesday, 2026-06-17

rlandydoodle created04:45
chandankumarsean-k-mooney: Hello, feel free to merge https://review.opendev.org/q/topic:%22pci-sim%22, it looks from my end.12:37
sean-k-mooneyi was just posting a repsoce and basiclly asking if we were ok to investiage the things you noted once the inital patch was merged12:39
sean-k-mooneyso ok im not imitdaly seeign the reason the second pf didnt have vfs in your env12:40
sean-k-mooneybut its someitng ill do more testing with when i starte trying to use this in tempest12:40
sean-k-mooneyi have not really done baremental testing with this yet so there may be quirks that need to be worked out such as investiatign if we can supprot a mix of fake and realy device passhtough at the same time12:41
chandankumarsounds good to investigate further on that12:41
chandankumarBut let;s get this series merge, it is too big to carry12:42
sean-k-mooneythe other thing that im condierign is addign a few debuging script to the devstack jobs, basically running lspci or virsh nodedev list as a post run playbook to collect soem extra host info for debugging later12:43
chandankumargood idea, I will give a try with mix and see how it looks12:43
chandankumar+112:43
sean-k-mooneyso with intel_iommu=off sriov and normal pci passhtough wont work12:44
sean-k-mooneybut if you set it to intel_iommu=on and iommu=pt12:44
sean-k-mooneyit might12:44
sean-k-mooneyhttps://github.com/torvalds/linux/blob/master/Documentation/admin-guide/kernel-parameters.txt#L253312:45
sean-k-mooneyther is also noforce or soft we could explre fore the mixed case12:46
chandankumarah thank you for the link, it has so many options12:47
sean-k-mooneyya, iommu=pt is what we use for dpdk and sriov on the same host12:47
sean-k-mooneyso i dont knwo if that woudl make it work12:47
sean-k-mooneyits somethign we can investigate in any case12:47
sean-k-mooneyfor first party ci we wont have the mixed case so this is more for local dev12:48
sean-k-mooneyoh looks like intremap defualt ot on if the intel_iommu=on12:49
sean-k-mooneyif we figure out a combinaiton that works we can docuement it12:50
chandankumarsure12:52
sean-k-mooneyhttps://paste.opendev.org/show/bYiLthWNUfK7OclB7HqW/12:54
sean-k-mooneythat what nova is seing in ci by the way12:54
sean-k-mooneyso it is seeing the VFs on boht pfs 12:55
sean-k-mooneyso im wonderinf if the is a short widnwos where tha tcan race or if it was somehtign local on your system form a prior run12:55
sean-k-mooneyone thin i tmay be is that i have not test with only cyborg enabeld and multiple pfs12:55
sean-k-mooneyso that the first time im goign to investigate12:56
sean-k-mooneyi have been testign with the pfs split between nova and cyborg12:56
sean-k-mooneywere you only allcoating them to cybrog locally.12:56
chandankumarENABLE_PCI_SIM=True12:57
chandankumar# pci-sim topology: 2 fake PFs, 4 VFs each.12:57
chandankumar# With both integrations enabled, PF0 VFs go to Nova and PF1 VFs to Cyborg.12:57
chandankumarPCI_SIM_NUM_PFS=212:57
chandankumarPCI_SIM_NUM_VFS=412:57
chandankumarPCI_SIM_CONFIGURE_NOVA_PCI=True12:57
chandankumarPCI_SIM_CONFIGURE_CYBORG_PCI=True12:57
chandankumarPCI_SIM_ALLOW_UNSAFE_INTERRUPTS=True12:57
sean-k-mooneyok that what i ws testing with as well12:58
sean-k-mooneystill i can build out some test cases for the diffent option adn see what breaks12:58
chandankumarThe error I hit earier while enabling cyborg then I hit while enabling both nova and cyborg12:59
sean-k-mooneychandankumar: so my current todo list for that moduel was add the ablity to create mdevs, add the ablity to emulate an e1000 nic adn then possibel add the ablity to emulate an nvme device13:05
sean-k-mooneythe secodn two are more asperationall but i think ti woudl be possibel to do by reusing some of the nvmevirt work13:05
sean-k-mooneybut im not currently willing to commit to the latter in a short itme frame becasue that is very non tirival13:06
sean-k-mooneyaddign the ablity for the PFs to supprot mdpy mdevs shoudl be realitivly simple13:07
sean-k-mooneyemulating a nic that works enough for neturon sriov testing is somewhere in between13:07
sean-k-mooneywe dont stricly need that but it is simpler then pretending to be a nvme device13:07
chandankumarnmvevirt has no iommu group support On which I am kind of blocked to see nvme with in the guest . From pci-sim work, I think i can reuse some of your work to add the support there13:31
chandankumaror I can do opposite, take some of the work from nvmevirt and add it into pci-sim13:32
chandankumarBut I need to think on that13:32
chandankumaron another note, I was writting some tests to validate cyborg placemnt workflow with pci scenario test https://review.opendev.org/c/openstack/cyborg-tempest-plugin/+/992210 it might be useful13:33
chandankumarI will update my above review with pci-sim work for the tempest tests13:33
chandankumarbrb13:33
sean-k-mooneyoh cool13:46
sean-k-mooneyya i was plannign to focus on scenairo test to validate the vm lifecycle13:47
sean-k-mooneyso the placmeent reporting tests will complement that 13:47
opendevreviewMerged openstack/cyborg master: devstack: add pci-sim fake SR-IOV PCI passthrough test fixture  https://review.opendev.org/c/openstack/cyborg/+/98947014:02
opendevreviewMerged openstack/cyborg master: Add pci-sim developer guide  https://review.opendev.org/c/openstack/cyborg/+/99117714:02
opendevreviewchandan kumar proposed openstack/cyborg master: Rename devstack CYBORG_CONF_FILE to CYBORG_CONF for consistency  https://review.opendev.org/c/openstack/cyborg/+/97980514:55
opendevreviewchandan kumar proposed openstack/cyborg master: Add NVMeVirt emulated NVMe device support for devstack  https://review.opendev.org/c/openstack/cyborg/+/97708314:55
opendevreviewchandan kumar proposed openstack/cyborg master: Add NVMeVirt emulated NVMe device support for devstack  https://review.opendev.org/c/openstack/cyborg/+/97708314:57
opendevreviewchandan kumar proposed openstack/cyborg master: Rename devstack CYBORG_CONF_FILE to CYBORG_CONF for consistency  https://review.opendev.org/c/openstack/cyborg/+/97980515:30
opendevreviewchandan kumar proposed openstack/cyborg master: Add NVMeVirt emulated NVMe device support for devstack  https://review.opendev.org/c/openstack/cyborg/+/97708315:30

Generated by irclog2html.py 4.1.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!