<div dir="ltr">That isn&#39;t necessary. Suffices to register an hvm ami with the  &quot;--sriov simple&quot; switch[1].<div><br></div><div>Having registered a copy--ami, I needn&#39;t change any modules/boot options configuration.</div><div>The ixgbevf driver was loaded automatically upon boot of supported instance type (r3) and the network interface was operational out of the box.</div><div>Same ami worked without any changes on non-supported instance type (t2) where the vif driver was picked by default.</div><div><br></div><div><br></div><div>Cheers,</div><div>milan</div><div><br></div><div>[1] ec2-register command, Par: To enabled enhanced networking (instance store–backed instances), <a href="http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/enhanced-networking.html#enhanced-networking-linux">http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/enhanced-networking.html#enhanced-networking-linux</a><br><div><br></div><div><div class="gmail_extra"><div class="gmail_quote">2015-03-24 23:21 GMT+01:00 David Gay <span dir="ltr">&lt;<a href="mailto:dgay@redhat.com" target="_blank">dgay@redhat.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class=""><div class="h5">----- Original Message -----<br>
&gt; From: &quot;milanisko k&quot; &lt;<a href="mailto:vetrisko@gmail.com">vetrisko@gmail.com</a>&gt;<br>
&gt; To: &quot;Fedora Cloud SIG&quot; &lt;<a href="mailto:cloud@lists.fedoraproject.org">cloud@lists.fedoraproject.org</a>&gt;<br>
&gt; Sent: Friday, March 20, 2015 7:52:21 AM<br>
&gt; Subject: Re: Fedora EC2 Amis: SriovNetSupport<br>
&gt;<br>
&gt; That would be one way.<br>
&gt; However, since it actually is a majority of the instance types[1] that<br>
&gt; support this feature, I&#39;d vote to make it the default.<br>
&gt; That&#39;s unless it prevents using/booting the &quot;small&quot; instances of course,<br>
&gt; what AFAIK isn&#39;t the case --- I was able to create a snapshot ami from an F21<br>
&gt; instance,<br>
&gt; register it with the sriov flag and boot both a t2 and an r3 instances<br>
&gt; without any issue and confirmed the sriov flag was in effect on the r3<br>
&gt; instance.<br>
&gt; The only limit I know of is the ami has to be HVM[2].<br>
&gt; Moreover, the feature is for free, no extra charges apply so why not to take<br>
&gt; advantage of lower latencies on the instances.<br>
&gt;<br>
&gt; Cheers,<br>
&gt; milan<br>
&gt;<br>
&gt; [1] Enhanced Networking Support, The Instance Types Matrix,<br>
&gt; <a href="http://aws.amazon.com/ec2/instance-types/" target="_blank">http://aws.amazon.com/ec2/instance-types/</a><br>
&gt; [2] Enabling Enhanced Networking on Other Linux Distributions,<br>
&gt; <a href="http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/enhanced-networking.html" target="_blank">http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/enhanced-networking.html</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; 2015-03-19 18:39 GMT+01:00 Garrett Holmstrom &lt; <a href="mailto:gholms@fedoraproject.org">gholms@fedoraproject.org</a> &gt; :<br>
&gt;<br>
&gt;<br>
&gt; On <a href="tel:2015-03-19%209" value="+420201503199">2015-03-19 9</a> :11, milanisko k wrote:<br>
&gt;<br>
&gt;<br>
&gt; I&#39;d like to ask about the status/plan of SriovNet support[1] for Fedora<br>
&gt; Amazon images.<br>
&gt; I was able to set this up manually for recent F21 ami ami-5cd9ea41, but<br>
&gt; it is quite an inconvenient experience --- one has to instantiate, stop,<br>
&gt; set attribute value through the CLI tool and start again to enable the<br>
&gt; feature.<br>
&gt; Would it be possible to register future Fedora amis with the enhanced<br>
&gt; networking flag enabled[1]?<br>
&gt; As far as motivation is concerned, please check the blog post[2] for<br>
&gt; some performance evaluation.<br>
&gt;<br>
&gt; Since that only works for some types of instances it wouldn&#39;t make sense to<br>
&gt; do that for all images, but registering a separate image (from the same<br>
&gt; bundle/snapshot) with that enabled would be reasonable.<br>
&gt;<br>
&gt; --<br>
&gt; Garrett Holmstrom<br>
&gt; ______________________________ _________________<br>
&gt; cloud mailing list<br>
&gt; <a href="mailto:cloud@lists.fedoraproject.org">cloud@lists.fedoraproject.org</a><br>
&gt; <a href="https://admin.fedoraproject" target="_blank">https://admin.fedoraproject</a>. org/mailman/listinfo/cloud<br>
&gt; Fedora Code of Conduct: <a href="http://fedoraproject.org/code-" target="_blank">http://fedoraproject.org/code-</a> of-conduct<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; cloud mailing list<br>
&gt; <a href="mailto:cloud@lists.fedoraproject.org">cloud@lists.fedoraproject.org</a><br>
&gt; <a href="https://admin.fedoraproject.org/mailman/listinfo/cloud" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/cloud</a><br>
&gt; Fedora Code of Conduct: <a href="http://fedoraproject.org/code-of-conduct" target="_blank">http://fedoraproject.org/code-of-conduct</a><br>
&gt;<br>
<br>
</div></div>I&#39;m responsible for Fedimg which uploads our AMIs. Seems to be a reasonable thing to get people&#39;s opinions on. Do you *have* to start the instance up then stop it and do all the stuff at [1]? If that has to be done for every HVM upload we provide, that might add some significant time and oddness to the automatic upload process. I don&#39;t see a way to just simply toggle a flag at AMI registration time, but then again, I&#39;m not familiar with enhanced networking on AWS.<br>
<br>
-- David<br>
<br>
[1]: <a href="http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/enhanced-networking.html#enhanced-networking-linux" target="_blank">http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/enhanced-networking.html#enhanced-networking-linux</a> under &quot;Enabling Enhanced Networking on Other Linux Distributions&quot;<br>
<div class=""><div class="h5">_______________________________________________<br>
cloud mailing list<br>
<a href="mailto:cloud@lists.fedoraproject.org">cloud@lists.fedoraproject.org</a><br>
<a href="https://admin.fedoraproject.org/mailman/listinfo/cloud" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/cloud</a><br>
Fedora Code of Conduct: <a href="http://fedoraproject.org/code-of-conduct" target="_blank">http://fedoraproject.org/code-of-conduct</a><br>
</div></div></blockquote></div><br></div></div></div></div>