I am working with a customer on enabling sriov within oVirt and were noticing a 
couple of issues.

  1.  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
  2.  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.
  3.  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.
  4.  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.
  5.  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 Technologies
e: j...@keysight.com<mailto:j...@keysight.com>
t: 469.556.6042
www.ixiacom.com<http://www.ixiacom.com/>

[cid:image002.png@01D2DA11.7BFEC8C0]


_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

Reply via email to