<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=utf-8">
<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:DengXian;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"\@等线";
        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;
        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: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="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">I have OVS with DPDK support installed, but cannot start OVS with DPDK features.<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Uio driver already installed and device binded:<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><span style="font-family:&quot;Courier New&quot;;background:silver;mso-highlight:silver">root@compute-0-1:/var/log# dpdk-devbind.py -s<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Courier New&quot;;background:silver;mso-highlight:silver"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Courier New&quot;;background:silver;mso-highlight:silver">Network devices using DPDK-compatible driver<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Courier New&quot;;background:silver;mso-highlight:silver">============================================<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Courier New&quot;;background:silver;mso-highlight:silver">0000:0c:00.0 '82574L Gigabit Network Connection' drv=uio_pci_generic unused=</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">I can set the dpdk-init parameter to true using ovs-vsctl:<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><span style="font-family:&quot;Courier New&quot;;background:silver;mso-highlight:silver">root@compute-0-1:/var/log# ovs-vsctl list open_vswitch<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Courier New&quot;;background:silver;mso-highlight:silver">_uuid&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 8dd11fbd-74e1-4250-af04-e1c3511963e3<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Courier New&quot;;background:silver;mso-highlight:silver">bridges&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : [065d253b-172e-4994-9a3b-5de5f625a2b0, 6dacb0b3-55bd-4bdc-93d8-b0d9a29b5bba, 777fd459-1678-4cd9-a7fd-277f5ce42dfb, 937029a2-7ec4-4932-bdad-b10c45981343,
 a5919efe-fcfe-4ba0-9471-e28c6f428192, a946af11-f291-4600-b72a-f0b83b7357a2]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Courier New&quot;;background:silver;mso-highlight:silver">cur_cfg&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 38<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Courier New&quot;;background:silver;mso-highlight:silver">datapath_types&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : [netdev, system]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Courier New&quot;;background:silver;mso-highlight:silver">db_version&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : &quot;7.14.0&quot;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Courier New&quot;;background:silver;mso-highlight:silver">external_ids&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : {hostname=&quot;&quot;, system-id=&quot;&quot;}<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Courier New&quot;;background:silver;mso-highlight:silver">iface_types&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : [geneve, gre, internal, ipsec_gre, &quot;l3gre&quot;, lisp, patch, stt, system, tap, vxlan]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Courier New&quot;;background:silver;mso-highlight:silver">manager_options&nbsp;&nbsp;&nbsp;&nbsp; : []<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Courier New&quot;;background:silver;mso-highlight:silver">next_cfg&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 38<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Courier New&quot;;background:silver;mso-highlight:silver">other_config&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : {default-mtu=&quot;2140&quot;, dpdk-init=&quot;true&quot;, dpdk-lcore-mask=&quot;0x2&quot;, dpdk-socket-mem=&quot;2048&quot;}<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Courier New&quot;;background:silver;mso-highlight:silver">ovs_version&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : &quot;2.6.2.css4.R8B~d8f404f&quot;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Courier New&quot;;background:silver;mso-highlight:silver">ssl&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : []<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Courier New&quot;;background:silver;mso-highlight:silver">statistics&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : {}<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Courier New&quot;;background:silver;mso-highlight:silver">system_type&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : ubuntu<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Courier New&quot;;background:silver;mso-highlight:silver">system_version&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : &quot;14.04&quot;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">But every time OVS restarts (e.g. <span style="font-family:&quot;Courier New&quot;;background:silver;mso-highlight:silver">
service openvswitch-switch restart</span><span style="font-family:&quot;Courier New&quot;"> or a system reboot</span>), the dpdk-init parameter gets automatically set to false, which means I can’t use DPDK features.<o:p></o:p></p>
</div>
</body>
</html>