<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=iso-2022-jp">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><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:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Microsoft YaHei UI";
        panose-1:2 11 5 3 2 2 4 2 2 4;}
@font-face
        {font-family:"\@Microsoft YaHei UI";
        panose-1:2 11 5 3 2 2 4 2 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 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:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:SimSun;
        mso-fareast-language:ZH-CN;}
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;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:SimSun;
        mso-fareast-language:ZH-CN;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        mso-fareast-language:ZH-CN;}
span.EmailStyle19
        {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;}
--></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"><a name="_MailEndCompose"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p>&nbsp;</o:p></span></a></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p>&nbsp;</o:p></span></p>
<div>
<p class="MsoNormal"><i><span lang="EN-IE" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">Regards<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span lang="EN-IE" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">_Sugesh<o:p></o:p></span></i></p>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US"><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"><a name="_____replyseparator"></a><b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"> ovs-discuss-bounces@openvswitch.org [mailto:ovs-discuss-bounces@openvswitch.org]
<b>On Behalf Of </b>lvzhilong@ncic.ac.cn<br>
<b>Sent:</b> Wednesday, July 12, 2017 10:31 AM<br>
<b>To:</b> ovs-discuss &lt;ovs-discuss@openvswitch.org&gt;<br>
<b>Subject:</b> [ovs-discuss] error: &quot;Error attaching device '0000:83:00.0' to DPDK&quot;<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<pre><i><span style="color:black">Hello,<o:p></o:p></span></i></pre>
<pre><i><span style="color:black">I have installed OVS 2.7 running.&nbsp; When I do:<o:p></o:p></span></i></pre>
<pre><i><span style="color:black"># ovs-vsctl add-port br0 dpdk-p0 -- set Interface dpdk-p0<o:p></o:p></span></i></pre>
<pre><i><span style="color:black">type=dpdk options:dpdk-devargs=0000:82:00.0<o:p></o:p></span></i></pre>
<pre><i><span style="color:black">ovs-vsctl: Error detected&nbsp;while&nbsp;setting up&nbsp;'dpdk-p0': Error attaching<o:p></o:p></span></i></pre>
<pre><i><span style="color:black">device&nbsp;'0000:82:00.0'&nbsp;to DPDK.&nbsp; See ovs-vswitchd log&nbsp;for&nbsp;details.<o:p></o:p></span></i></pre>
<pre><i><span style="color:black"><o:p>&nbsp;</o:p></span></i></pre>
<pre><i><span style="color:black">here is some informations<span lang="ZH-CN">:</span></span></i><span style="color:black"><o:p></o:p></span></pre>
<p class="MsoNormal"><i><span style="font-family:&quot;Courier New&quot;;color:black">1.&nbsp; &nbsp;&nbsp;root@oncsg4:/var/log/openvswitch#&nbsp;$DPDK_DIR/tools/dpdk-devbind.py&nbsp;--status</span></i><span style="font-family:&quot;Microsoft YaHei UI&quot;,sans-serif;color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><i><span style="font-family:&quot;Courier New&quot;;color:black"><br>
Network&nbsp;devices&nbsp;using&nbsp;DPDK-compatible&nbsp;driver<br>
============================================<br>
0000:83:00.0&nbsp;'Ethernet&nbsp;10G&nbsp;2P&nbsp;X710&nbsp;Adapter'&nbsp;drv=vfio-pci&nbsp;unused=uio_pci_generic<br>
0000:83:00.1&nbsp;'Ethernet&nbsp;10G&nbsp;2P&nbsp;X710&nbsp;Adapter'&nbsp;drv=uio_pci_generic&nbsp;unused=vfio-pci<br>
<br>
</span></i><span style="font-family:&quot;Microsoft YaHei UI&quot;,sans-serif;color:black"><o:p></o:p></span></p>
<pre><i><span style="color:black"><o:p>&nbsp;</o:p></span></i></pre>
<pre><i><span style="color:black">2. the log file shows:<o:p></o:p></span></i></pre>
<pre><i><span style="color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (1).&nbsp;&nbsp;&nbsp;&nbsp;2017-07-07T10:04:40.004Z|00064|netdev_dpdk|WARN|Error attaching device&nbsp;'0000:82:00.0'&nbsp;to DPDK<o:p></o:p></span></i></pre>
<pre><i><span style="color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (2).&nbsp;&nbsp;&nbsp;&nbsp;2017-07-07T10:04:40.004Z|00065|netdev|WARN|dpdk-p0: could not&nbsp;set&nbsp;configuration&nbsp;(Invalid argument)<o:p></o:p></span></i></pre>
<pre><b><i><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D">[Sugesh] Shouldn’t be this </span></i></b><i><span style="color:black">'0000:83:00.0'&nbsp;instead of '0000:82:00.0'&nbsp;</span></i><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D"><o:p></o:p></span></pre>
</div>
<div>
<p class="MsoNormal"><span style="font-family:&quot;Microsoft YaHei UI&quot;,sans-serif;color:black"><o:p>&nbsp;</o:p></span></p>
</div>
<div class="MsoNormal"><span style="font-family:&quot;Microsoft YaHei UI&quot;,sans-serif;color:black">
<hr size="1" width="210" style="width:157.5pt" noshade="" style="color:#B5C4DF" align="left">
</span></div>
<div>
<div style="margin-left:7.5pt;margin-top:7.5pt;margin-right:7.5pt;margin-bottom:7.5pt">
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:black"><a href="mailto:lvzhilong@ncic.ac.cn">lvzhilong@ncic.ac.cn</a><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>