<div dir="ltr"><div>I think it was not fair to say it's not up to date. It seems it's up to date, but current downsides of existing OpenStack wikis on SRIOV are missing info, many different Wikis and hard to consume the info:</div><div>1. <a href="https://wiki.openstack.org/wiki/SR-IOV-Passthrough-For-Networking">https://wiki.openstack.org/wiki/SR-IOV-Passthrough-For-Networking</a></div><div>2. <a href="https://wiki.openstack.org/wiki/Nova-neutron-sriov">https://wiki.openstack.org/wiki/Nova-neutron-sriov</a></div><div>3. <a href="https://wiki.openstack.org/wiki/PCI_passthrough_SRIOV_support">https://wiki.openstack.org/wiki/PCI_passthrough_SRIOV_support</a></div><div>4. <a href="https://wiki.openstack.org/wiki/Pci_passthrough">https://wiki.openstack.org/wiki/Pci_passthrough</a></div><div><br></div><div>Things that I noticed that were missing / could be better:</div><div>1. Adding PCIDeviceFilter to nova-scheduler</div><div>2. How to enable VFs on compute nodes</div><div>3. This wiki: <a href="https://wiki.openstack.org/wiki/Nova-neutron-sriov">https://wiki.openstack.org/wiki/Nova-neutron-sriov</a> contains incorrect information.</div><div>Current wrong: "neutron port-create <net-uuid-from-step-1> --name sriov_port <b>--vnic-type direct</b> "</div><div>should be "neutron port-create <net-uuid-from-step-1> --name sriov_port<b> --binding:vnic_type direc</b>t"</div><div>4. Make it more clear that agent_required = False is totally fine and may be better. From what I read you have to disable the firewall functionality if you enable sriov-agent? Not sure if that understanding is correct.</div><div><br></div><div>I would prefer this information to have release bound documentation in for example the Networking Guide: <a href="http://docs.openstack.org/networking-guide/">http://docs.openstack.org/networking-guide/</a> or the Cloud Administrator Guide: <a href="http://docs.openstack.org/admin-guide-cloud/content/">http://docs.openstack.org/admin-guide-cloud/content/</a></div><div><br></div><div>I believe that using the pci sys interface is vendor compatible. Would be great if you could confirm. Could you try testing $ echo '7' > /sys/class/net/eth3/device/sriov_numvfs on a mellanox card? </div><div>This way we don't have to write vendor specific docs on enabling VFs :) </div><div>When using modprobe ixgbe max_vfs=7 it tells you that using max_vfs is deprecated and that the pci sys interface should be used. That's how I found out about this.</div><div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jul 19, 2015 at 2:44 PM, Moshe Levi <span dir="ltr"><<a href="mailto:moshele@mellanox.com" target="_blank">moshele@mellanox.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Hi Sam,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Can you explain why you think that the   <a href="https://wiki.openstack.org/wiki/SR-IOV-Passthrough-For-Networking" target="_blank">https://wiki.openstack.org/wiki/SR-IOV-Passthrough-For-Networking</a>
 is out of date?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Moreover you blog explain how to configure SR-IOV on Intel NIC, but keep in mind Neutron SRIOV is generic and can support any other vendors such  as Mellanox.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Maybe will should add links to how to configure SR-IOV NIC for several  Vendors. We can start with Mellanox and Intel NIC. What do you think?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt">
<div>
<div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Sam Stoelinga [mailto:<a href="mailto:sammiestoel@gmail.com" target="_blank">sammiestoel@gmail.com</a>]
<br>
<b>Sent:</b> Saturday, July 18, 2015 5:55 PM<br>
<b>To:</b> <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
<b>Subject:</b> [Openstack] [Neutron][SRIOV][docs] Enabling SRIOV on OpenStack Juno step-by-step guide<u></u><u></u></span></p>
</div>
</div><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Hi networking gurus,<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">While it may be easy for many of you to enable Neutron SRIOV on OpenStack it wasn't a smooth ride for me. I documented exactly which steps were required to enable SRIOV on OpenStack on my blog: <a href="http://samos-it.com/posts/sriov-openstack-juno-fuel-6-1.html" target="_blank">http://samos-it.com/posts/sriov-openstack-juno-fuel-6-1.html</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">It seems there is no official documentation yet other than 2 out of date wiki pages. I would like take the content of my blog post to official OpenStack docs if you guys/girls think it's useful for the broader audience.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Regards,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Sam Stoelinga<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div></div></div>
</div>
</div>

</blockquote></div><br></div>