<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:245310953;
        mso-list-template-ids:1019524408;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">I am working with a customer on enabling sriov within oVirt and were noticing a couple of issues.<o:p></o:p></p>
<ol start="1" type="1">
<li class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1">
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<o:p></o:p></li><li class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1">
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.<o:p></o:p></li><li class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1">
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.<o:p></o:p></li><li class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1">
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.<o:p></o:p></li><li class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1">
If we manually run the following command from an ssh session: <b><span style="font-size:10.0pt;color:#0070C0">echo 4 > /sys/class/net/ens4f0/device/sriov_numvfs</span></b><o:p></o:p></li></ol>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt">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.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">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.)<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Thank you for any help,<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">jp<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:6.0pt;margin-right:0in;margin-bottom:8.0pt;margin-left:0in;line-height:105%">
<b><span style="font-size:10.0pt;line-height:105%;font-family:"Arial",sans-serif;color:#37B0C9">Joe Paolicelli (JP)<br>
</span></b><span style="font-size:10.0pt;line-height:105%;font-family:"Arial",sans-serif;color:#5F6369;letter-spacing:.4pt">Virtualization Specialist, Ixia Solutions Group<br>
Keysight Technologies<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#37B0C9">e:</span><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#5F6369">
</span><u><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:#0563C1"><a href="mailto:jp@keysight.com">jp@keysight.com</a></span></u><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#5F6369"><br>
</span><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#37B0C9">t:</span><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#5F6369"> 469.556.6042<br>
</span><a href="http://www.ixiacom.com/"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#37B0C9">www.ixiacom.com</span></a><o:p></o:p></p>
<p class="MsoNormal"><u><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#37B0C9;letter-spacing:1.0pt"><br>
</span></u><img border="0" width="622" height="78" style="width:6.4833in;height:.8166in" id="Picture_x0020_6" src="cid:image001.png@01D3C733.EEB671F0" alt="cid:image002.png@01D2DA11.7BFEC8C0"><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>