I am working with a customer on enabling sriov within oVirt and were noticing a couple of issues.
- Whenever we assign the Number of VFs to a physical adapter in one of our hosts, it seems to set the mac addresses of each of the VFs to something other than all zeros. Ex. 02:00:00:00:00:01
- The above behavior seems to create duplicate mac addresses when we assign 2 or more VFs to a guest VM. All zeros will tell the guest VM that it needs to set the mac. If the guest vm sees something other than all zeros, it will think that it was administratively assigned already and leave as is.
- We were expecting oVirt to set all of the MAC addresses of the VFs initially to all zeros. Then when we assign these VFs to the guest VM, the guest VM will assign a unique MAC to each of the VFs.
- Please note that we are assigning the VF to the guest VM by adding a Host Device (the specific pci host device for the VF). This seems to be different than your docs which shows adding a Network Interface with type PCI Passthrough.
- If we manually run the following command from an ssh session: echo 4 > /sys/class/net/ens4f0/device/
sriov_numvfs it will set all of the VFs mac addresses to all zeros. Then when we assign the pci host device to the guest VM through oVirt, it creates unique macs for both vnics. However, when we reboot the Host, it seems to revert back to the oVirt assigned macs of 02:00:00:00:00:01.
Do know why this might be happening? Should we be assigning the VFs to the guest VM by adding a network interface with type PCI Passthrough? Ultimately our goal is to enable sriov within oVirt and be able to assign multiple VFs to the guest VMs with each getting a unique mac. We also want to do the vlan tagging via an application running on the guest VM (not at the Host level.)
Thank you for any help,
jp
Joe Paolicelli (JP)
Virtualization Specialist, Ixia Solutions Group
Keysight Technologiese: jp@keysight.com
t: 469.556.6042
www.ixiacom.com
_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
Michael Burman
Senior Quality engineer - rhv network - redhat israel
mburman@redhat.com M: 0545355725 IM: mburman