<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 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@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;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        font-size:10.5pt;
        font-family:"Calibri","sans-serif";}
h4
        {mso-style-priority:9;
        mso-style-link:"\6807\9898 4 Char";
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:SimSun;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML \9884\8BBE\683C\5F0F Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:SimSun;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.4Char
        {mso-style-name:"\6807\9898 4 Char";
        mso-style-priority:9;
        mso-style-link:"\6807\9898 4";
        font-family:SimSun;
        font-weight:bold;}
span.mw-headline
        {mso-style-name:mw-headline;}
span.HTMLChar
        {mso-style-name:"HTML \9884\8BBE\683C\5F0F Char";
        mso-style-priority:99;
        mso-style-link:"HTML \9884\8BBE\683C\5F0F";
        font-family:SimSun;}
.MsoChpDefault
        {mso-style-type:export-only;}
/* Page Definitions */
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
        {page:WordSection1;}
--></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="ZH-CN" link="blue" vlink="purple" style="text-justify-trim:punctuation">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">Hi, <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">I have a problem when reading the wiki below, which is based on the latest SRIOV design.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><a href="https://wiki.openstack.org/wiki/PCI_passthrough_SRIOV_support#API_interface">https://wiki.openstack.org/wiki/PCI_passthrough_SRIOV_support#API_interface</a><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">My problem is about </span><span lang="EN-US" style="font-size:11.0pt;color:#333333">the “<i>PCI SRIOV with tagged flavor”</i> part.</span><span lang="EN-US"><o:p></o:p></span></p>
<h4 style="mso-margin-top-alt:7.5pt;margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm;line-height:15.0pt;background:white">
<span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#333333;font-weight:normal">In “pci_information =  { { 'device_id': "8086", 'vendor_id': "000[1-2]" }, { 'e.physical_network': 'X' } }” , I’m confused what is the “e.physical_network”,
 if it means a network resource, why we need to filter the assignable nics by a network resource?<o:p></o:p></span></h4>
<h4 style="mso-margin-top-alt:7.5pt;margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm;line-height:15.0pt;background:white">
<span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#333333;font-weight:normal">Can you please tell me more about the “physical_network” here, thanks a lot.
<o:p></o:p></span></h4>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#333333">In<b> “</b>{'e.physical_netowrk':'X', 'count': 1 }<b>”</b>, I think the “count” means the count of virtual nics a SRIOV nic can support, is that right?</span><b><span lang="EN-US" style="font-size:11.0pt"><o:p></o:p></span></b></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">In the last step while booting a vm with a virtual nic, the command is “nova boot  mytest  --flavor m1.tiny  --image=cirros-0.3.1-x86_64-uec  --nic  net-id=network_X  pci_flavor= '1:phyX_NIC;'”.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">I noticed that, “pci_flavor” is prompted while there already has the m1.tiny flavor, will the “pci_flavor” be separated from the normal flavor in the next step?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">Thanks  <o:p></o:p></span></p>
</div>
</body>
</html>