<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)">
<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;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 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;}
p.MsoBodyText, li.MsoBodyText, div.MsoBodyText
        {mso-style-priority:99;
        mso-style-link:"Body Text Char";
        margin-top:6.0pt;
        margin-right:0in;
        margin-bottom:6.0pt;
        margin-left:0in;
        font-size:10.0pt;
        font-family:"Arial",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;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.BodyTextChar
        {mso-style-name:"Body Text Char";
        mso-style-priority:99;
        mso-style-link:"Body Text";
        font-family:"Arial",sans-serif;}
span.EmailStyle21
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle22
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
span.EmailStyle23
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@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:60762047;
        mso-list-type:hybrid;
        mso-list-template-ids:-831211136 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l1
        {mso-list-id:1792285856;
        mso-list-type:hybrid;
        mso-list-template-ids:-831211136 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l1:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l1:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l1:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
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"><span style="color:#1F497D">Hi Darragh,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Thank you for your suggestion, I tried followed step 5 from the link which you shared and also &nbsp;enabled PMD CPU mask. However VM still hangs while starting OVS daemon(</span><span lang="EN" style="font-size:9.0pt;font-family:Consolas;color:#24292E">ovs-vswitchd
 --dpdk -c 0x1 -n 4 -- unix:$DB_SOCK --pidfile &#8211;detach)</span><span style="color:#1F497D">.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Ranjith &nbsp;</span><span style="color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> O'Reilly, Darragh [mailto:darragh.oreilly@hpe.com]
<br>
<b>Sent:</b> Thursday, September 14, 2017 9:02 PM<br>
<b>To:</b> Ranjith Kumar D &lt;Ranjith.Kumar@radisys.com&gt;; discuss@openvswitch.org<br>
<b>Subject:</b> RE: [ovs-discuss] error: &quot;could not open network device dpdk0 (Address family not supported by protocol)&quot;<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Maybe you need to set the pmd-cpu-mask. I don&#8217;t know what it defaults to. I think this will place a PMD on the fourth core<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">ovs-vsctl set Open_vSwitch . other_config:pmd-cpu-mask=0x8
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Then make sure ovs-vswitchd is stopped and try starting it like step 5 in
<a href="https://github.com/openvswitch/ovs/blob/branch-2.4/INSTALL.DPDK.md">https://github.com/openvswitch/ovs/blob/branch-2.4/INSTALL.DPDK.md</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Darragh.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></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>From:</b> <a href="mailto:ovs-discuss-bounces@openvswitch.org">
ovs-discuss-bounces@openvswitch.org</a> [<a href="mailto:ovs-discuss-bounces@openvswitch.org">mailto:ovs-discuss-bounces@openvswitch.org</a>]
<b>On Behalf Of </b>Ranjith Kumar D<br>
<b>Sent:</b> 14 September 2017 14:29<br>
<b>To:</b> <a href="mailto:discuss@openvswitch.org">discuss@openvswitch.org</a><br>
<b>Subject:</b> [ovs-discuss] error: &quot;could not open network device dpdk0 (Address family not supported by protocol)&quot;<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Hello All,<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">I have installed OVS 2.4.0 in a Virtual machine with DPDK 2.0, &nbsp;I am getting below error when I add DPDK port in OVS bridge.<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">error: &quot;could not open network device dpdk0 (Address family not supported by protocol)&quot;<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">d68d0789-5e61-47d4-ad2d-838c183b0e41<o:p></o:p></p>
<p class="MsoNormal">&nbsp;&nbsp;&nbsp; Bridge pdn-br<o:p></o:p></p>
<p class="MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Port &quot;dpdk0&quot;<o:p></o:p></p>
<p class="MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Interface &quot;dpdk0&quot;<o:p></o:p></p>
<p class="MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; type: dpdk<o:p></o:p></p>
<p class="MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; error: &quot;could not open network device dpdk0 (Address family not supported by protocol)&quot;<o:p></o:p></p>
<p class="MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Port pdn-br<o:p></o:p></p>
<p class="MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Interface pdn-br<o:p></o:p></p>
<p class="MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; type: internal<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><b><u>DPDK NIC status</u></b>:<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><a href="mailto:ubuntu@mysite-vpgwu-slice1-25:~/dpdk-2.0.0/tools$">ubuntu@mysite-vpgwu-slice1-25:~/dpdk-2.0.0/tools$</a> ./dpdk_nic_bind.py --s<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Network devices using DPDK-compatible driver<o:p></o:p></p>
<p class="MsoNormal">============================================<o:p></o:p></p>
<p class="MsoNormal">0000:00:03.0 'Virtio network device' drv=igb_uio unused=<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Network devices using kernel driver<o:p></o:p></p>
<p class="MsoNormal">===================================<o:p></o:p></p>
<p class="MsoNormal">0000:00:04.0 'Virtio network device' if= drv=virtio-pci unused=igb_uio<o:p></o:p></p>
<p class="MsoNormal">0000:00:05.0 'Virtio network device' if= drv=virtio-pci unused=igb_uio<o:p></o:p></p>
<p class="MsoNormal">0000:00:06.0 'Virtio network device' if= drv=virtio-pci unused=igb_uio<o:p></o:p></p>
<p class="MsoNormal">0000:00:07.0 'Virtio network device' if= drv=virtio-pci unused=igb_uio<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Other network devices<o:p></o:p></p>
<p class="MsoNormal">=====================<o:p></o:p></p>
<p class="MsoNormal">&lt;none&gt;<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><b><u>Huge Page:( cat /proc/meminfo)<o:p></o:p></u></b></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">HugePages_Total:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1<o:p></o:p></p>
<p class="MsoNormal">HugePages_Free:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1<o:p></o:p></p>
<p class="MsoNormal">HugePages_Rsvd:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0<o:p></o:p></p>
<p class="MsoNormal">HugePages_Surp:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0<o:p></o:p></p>
<p class="MsoNormal">Hugepagesize:&nbsp;&nbsp;&nbsp; 1048576 kB<o:p></o:p></p>
<p class="MsoNormal">DirectMap4k:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 51068 kB<o:p></o:p></p>
<p class="MsoNormal">DirectMap2M:&nbsp;&nbsp;&nbsp;&nbsp; 3094528 kB<o:p></o:p></p>
<p class="MsoNormal">DirectMap1G:&nbsp;&nbsp;&nbsp;&nbsp; 7340032 kB<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">The below are steps which I followed to configure OVS<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoBodyText" style="margin-left:.5in;text-indent:-.25in;mso-list:l0 level1 lfo2">
<![if !supportLists]><span style="mso-list:Ignore">1.<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>config_file=&quot;/etc/depmod.d/openvswitch.conf&quot;<o:p></o:p></p>
<p class="MsoBodyText" style="margin-left:.5in;text-indent:-.25in;mso-list:l0 level1 lfo2">
<![if !supportLists]><span style="mso-list:Ignore">2.<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>for module in datapath/linux/*.ko; do&nbsp;&nbsp; modname=&quot;$(basename ${module})&quot;;&nbsp;&nbsp; echo &quot;override ${modname%.ko} * extra&quot; &gt;&gt; &quot;$config_file&quot;;&nbsp;&nbsp; echo &quot;override ${modname%.ko} * weak-updates&quot; &gt;&gt; &quot;$config_file&quot;;&nbsp;&nbsp; done<o:p></o:p></p>
<p class="MsoBodyText" style="margin-left:.5in"><o:p>&nbsp;</o:p></p>
<p class="MsoBodyText" style="margin-left:.5in;text-indent:-.25in;mso-list:l0 level1 lfo2">
<![if !supportLists]><span style="mso-list:Ignore">3.<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>depmod -a<o:p></o:p></p>
<p class="MsoBodyText" style="margin-left:.5in;text-indent:-.25in;mso-list:l0 level1 lfo2">
<![if !supportLists]><span style="mso-list:Ignore">4.<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>/sbin/modprobe openvswitch<o:p></o:p></p>
<p class="MsoBodyText" style="margin-left:.5in;text-indent:-.25in;mso-list:l0 level1 lfo2">
<![if !supportLists]><span style="mso-list:Ignore">5.<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>/sbin/lsmod<o:p></o:p></p>
<p class="MsoBodyText" style="margin-left:.5in"><o:p>&nbsp;</o:p></p>
<p class="MsoBodyText" style="margin-left:.5in;text-indent:-.25in;mso-list:l0 level1 lfo2">
<![if !supportLists]><span style="mso-list:Ignore">6.<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>mkdir -p /usr/local/etc/openvswitch<o:p></o:p></p>
<p class="MsoBodyText" style="margin-left:.5in;text-indent:-.25in;mso-list:l0 level1 lfo2">
<![if !supportLists]><span style="mso-list:Ignore">7.<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>ovsdb-tool create /usr/local/etc/openvswitch/conf.db vswitchd/vswitch.ovsschema<o:p></o:p></p>
<p class="MsoBodyText" style="margin-left:.5in;text-indent:-.25in;mso-list:l0 level1 lfo2">
<![if !supportLists]><span style="mso-list:Ignore">8.<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>ovsdb-server --remote=punix:/usr/local/var/run/openvswitch/db.sock&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --remote=db:Open_vSwitch,Open_vSwitch,manager_options&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --private-key=db:Open_vSwitch,SSL,private_key&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --certificate=db:Open_vSwitch,SSL,certificate&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 --bootstrap-ca-cert=db:Open_vSwitch,SSL,ca_cert&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --pidfile &#8211;detach<o:p></o:p></p>
<p class="MsoBodyText" style="margin-left:.5in;text-indent:-.25in;mso-list:l0 level1 lfo2">
<![if !supportLists]><span style="mso-list:Ignore">9.<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>ovs-vsctl --no-wait init<o:p></o:p></p>
<p class="MsoBodyText" style="margin-left:.5in;text-indent:-.25in;mso-list:l0 level1 lfo2">
<![if !supportLists]><span style="mso-list:Ignore">10.<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;
</span></span><![endif]>ovs-vswitchd --pidfile &#8211;detach<o:p></o:p></p>
<p class="MsoBodyText" style="margin-left:.5in;text-indent:-.25in;mso-list:l0 level1 lfo2">
<![if !supportLists]><span style="mso-list:Ignore">11.<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;
</span></span><![endif]>ovs-vsctl add-br pdn-br<o:p></o:p></p>
<p class="MsoBodyText" style="margin-left:.5in;text-indent:-.25in;mso-list:l0 level1 lfo2">
<![if !supportLists]><span style="mso-list:Ignore">12.<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;
</span></span><![endif]>ovs-vsctl set bridge pdn-br datapath_type=netdev<o:p></o:p></p>
<p class="MsoBodyText" style="margin-left:.5in;text-indent:-.25in;mso-list:l0 level1 lfo2">
<![if !supportLists]><span style="mso-list:Ignore">13.<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;
</span></span><![endif]>ovs-vsctl add-port pdn-br dpdk0 -- set Interface dpdk0 type=dpdk<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">The VM had hang when I follow below steps instead of above step 10<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoBodyText" style="margin-left:.5in;text-indent:-.25in;mso-list:l1 level1 lfo4">
<![if !supportLists]><span style="mso-list:Ignore">1.<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>export DB_SOCK=/usr/local/var/run/openvswitch/db.sock <o:p>
</o:p></p>
<p class="MsoBodyText" style="margin-left:.5in;text-indent:-.25in;mso-list:l1 level1 lfo4">
<![if !supportLists]><span style="mso-list:Ignore">2.<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>ovs-vswitchd --dpdk -c 0x1 -n 4 -- unix:$DB_SOCK --pidfile &#8211;detach<o:p></o:p></p>
<p class="MsoBodyText"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><b><u>Output VM hang console:<o:p></o:p></u></b></p>
<p class="MsoBodyText"><span style="font-size:8.0pt">root@mysite-vpgwu-slice1-25:/home/ubuntu# ovs-vswitchd --dpdk -c 0x1 -n 4 -- unix:$DB_SOCK --pidfile &#8211;detach<o:p></o:p></span></p>
<p class="MsoBodyText"><span style="font-size:8.0pt">2017-09-14T21:32:31Z|00001|dpdk|INFO|No -vhost_sock_dir provided - defaulting to /usr/local/var/run/openvswitch<o:p></o:p></span></p>
<p class="MsoBodyText"><span style="font-size:8.0pt">EAL: Detected lcore 0 as core 0 on socket 0<o:p></o:p></span></p>
<p class="MsoBodyText"><span style="font-size:8.0pt">EAL: Detected lcore 1 as core 0 on socket 0<o:p></o:p></span></p>
<p class="MsoBodyText"><span style="font-size:8.0pt">EAL: Detected lcore 2 as core 0 on socket 0<o:p></o:p></span></p>
<p class="MsoBodyText"><span style="font-size:8.0pt">EAL: Detected lcore 3 as core 0 on socket 0<o:p></o:p></span></p>
<p class="MsoBodyText"><span style="font-size:8.0pt">EAL: Support maximum 128 logical core(s) by configuration.<o:p></o:p></span></p>
<p class="MsoBodyText"><span style="font-size:8.0pt">EAL: Detected 4 lcore(s)<o:p></o:p></span></p>
<p class="MsoBodyText"><span style="font-size:8.0pt">EAL: VFIO modules not all loaded, skip VFIO support...<o:p></o:p></span></p>
<p class="MsoBodyText"><span style="font-size:8.0pt">EAL: Setting up memory...<o:p></o:p></span></p>
<p class="MsoBodyText"><span style="font-size:8.0pt">debug2: channel 0: window 999344 sent adjust 49232<o:p></o:p></span></p>
<p class="MsoBodyText"><span style="font-size:8.0pt">EAL: Ask a virtual area of 0x40000000 bytes<o:p></o:p></span></p>
<p class="MsoBodyText"><span style="font-size:8.0pt">EAL: Virtual area found at 0x7f6700000000 (size = 0x40000000)<o:p></o:p></span></p>
<p class="MsoBodyText"><span style="font-size:8.0pt">EAL: Requesting 1 pages of size 1024MB from socket 0<o:p></o:p></span></p>
<p class="MsoBodyText"><span style="font-size:8.0pt">EAL: TSC frequency is ~1795841 KHz<o:p></o:p></span></p>
<p class="MsoBodyText"><span style="font-size:8.0pt">EAL: WARNING: cpu flags constant_tsc=yes nonstop_tsc=no -&gt; using unreliable clock cycles !<o:p></o:p></span></p>
<p class="MsoBodyText"><span style="font-size:8.0pt">EAL: Master lcore 0 is ready (tid=75c8db40;cpuset=[0])<o:p></o:p></span></p>
<p class="MsoBodyText"><span style="font-size:8.0pt">PMD: ENICPMD trace: rte_enic_pmd_init<o:p></o:p></span></p>
<p class="MsoBodyText"><span style="font-size:8.0pt">EAL: PCI device 0000:00:03.0 on NUMA socket -1<o:p></o:p></span></p>
<p class="MsoBodyText"><span style="font-size:8.0pt">EAL:&nbsp;&nbsp; probe driver: 1af4:1000 rte_virtio_pmd<o:p></o:p></span></p>
<p class="MsoBodyText"><span style="font-size:8.0pt">EAL: PCI device 0000:00:04.0 on NUMA socket -1<o:p></o:p></span></p>
<p class="MsoBodyText"><span style="font-size:8.0pt">EAL:&nbsp;&nbsp; probe driver: 1af4:1000 rte_virtio_pmd<o:p></o:p></span></p>
<p class="MsoBodyText"><span style="font-size:8.0pt">EAL: PCI device 0000:00:05.0 on NUMA socket -1<o:p></o:p></span></p>
<p class="MsoBodyText"><span style="font-size:8.0pt">EAL:&nbsp;&nbsp; probe driver: 1af4:1000 rte_virtio_pmd<o:p></o:p></span></p>
<p class="MsoBodyText"><span style="font-size:8.0pt">EAL: PCI device 0000:00:06.0 on NUMA socket -1<o:p></o:p></span></p>
<p class="MsoBodyText"><span style="font-size:8.0pt">EAL:&nbsp;&nbsp; probe driver: 1af4:1000 rte_virtio_pmd<o:p></o:p></span></p>
<p class="MsoBodyText"><span style="font-size:8.0pt">EAL: PCI device 0000:00:07.0 on NUMA socket -1<o:p></o:p></span></p>
<p class="MsoBodyText"><span style="font-size:8.0pt">EAL:&nbsp;&nbsp; probe driver: 1af4:1000 rte_virtio_pmd<o:p></o:p></span></p>
<p class="MsoBodyText"><o:p>&nbsp;</o:p></p>
<p class="MsoBodyText">Any input ?<o:p></o:p></p>
<p class="MsoBodyText"><o:p>&nbsp;</o:p></p>
<p class="MsoBodyText">Regards,<o:p></o:p></p>
<p class="MsoBodyText">Ranjith<o:p></o:p></p>
</div>
</div>
</body>
</html>