<div dir="ltr">First check your cable - ex. make sure it is CAT6 and of good quality.  It looks like you are using 10G Copper port.<div>Also, per my understanding of ethtool, you should run it on interface, for example:</div><div><br></div><div># ethtool ovs-dpdk-0 | grep Speed</div><div><br></div><div>Cheers</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Oct 29, 2017 at 11:22 PM, 刘君03 <span dir="ltr">&lt;<a href="mailto:liujun03@b.360.cn" target="_blank">liujun03@b.360.cn</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="ZH-CN" link="blue" vlink="purple">
<div class="m_6820035000580701500Section1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt">Hello, OVS friends, I am a novice who uses ovs. Now encounter a thorny problem.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt">Basic environment</span><span style="font-size:14.0pt;font-family:宋体">:</span><span lang="EN-US" style="font-size:14.0pt">CentOS Linux release 7.4.1708 (Core)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt">                            Linux version 3.10.0-693.2.2.el7.x86_64<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt">Installation procedure reference</span><span style="font-size:14.0pt;font-family:宋体">:</span><span lang="EN-US" style="font-size:14.0pt"><a href="http://docs.openvswitch.org/en/latest/intro/install/dpdk/" target="_blank">http://docs.<wbr>openvswitch.org/en/latest/<wbr>intro/install/dpdk/</a><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt">                              <wbr>                              <wbr>   &amp;
<a href="http://docs.openvswitch.org/en/latest/intro/install/general/" target="_blank">http://docs.openvswitch.org/<wbr>en/latest/intro/install/<wbr>general/</a><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt">Test Environment</span><span style="font-size:14.0pt;font-family:宋体">:</span><span lang="EN-US" style="font-size:14.0pt"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt"><u></u><img border="0" width="420" height="451" src="cid:image005.png@01D3518A.2B0486D0"><u></u><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;color:red">Urgent problem to show</span><span style="font-size:14.0pt;font-family:宋体;color:red">:(</span><span lang="EN-US" style="font-size:14.0pt;color:red">1</span><span style="font-size:14.0pt;font-family:宋体;color:red">)</span><span lang="EN-US" style="font-size:14.0pt;color:red">Tester
 found: Large loss of data packets when 100</span><span style="font-size:14.0pt;font-family:宋体;color:red">、</span><span lang="EN-US" style="font-size:14.0pt;color:red">1000Mb/s and 10Gb/s<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;color:red">                              <wbr>                  
</span><span style="font-size:14.0pt;font-family:宋体;color:red">(</span><span lang="EN-US" style="font-size:14.0pt;color:red">2</span><span style="font-size:14.0pt;font-family:宋体;color:red">)</span><span lang="EN-US" style="font-size:14.0pt;color:red">ethtool
 command as shown below</span><span style="font-size:14.0pt;font-family:宋体;color:red">(</span><span lang="EN-US" style="font-size:14.0pt;color:red">and can not modify field “speed”</span><span style="font-size:14.0pt;font-family:宋体;color:red">):</span><span lang="EN-US" style="font-size:14.0pt"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt"><img border="0" width="1056" height="306" id="m_6820035000580701500图片_x0020_6" src="cid:image003.png@01D35173.2338A4C0"></span><span lang="EN-US" style="font-size:14.0pt"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt">                                         
</span><span style="font-size:14.0pt;font-family:宋体;color:red">(</span><span lang="EN-US" style="font-size:14.0pt;color:red">3</span><span style="font-size:14.0pt;font-family:宋体;color:red">)</span><span lang="EN-US" style="font-size:14.0pt;color:red">ovs-vsctl
 list command as shown below</span><span style="font-size:14.0pt;font-family:宋体;color:red">(</span><span lang="EN-US" style="font-size:14.0pt;color:red">link_speed=10,000,000=<wbr>10Mb/s</span><span style="font-size:14.0pt;font-family:宋体;color:red">,</span><span lang="EN-US" style="font-size:14.0pt;color:red">Only
 “options” fields can be manually modified to “link_speed=10G”</span><span style="font-size:14.0pt;font-family:宋体;color:red">)</span><span lang="EN-US" style="font-size:14.0pt"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt"><img border="0" width="1385" height="579" id="m_6820035000580701500图片_x0020_15" src="cid:image004.png@01D35188.BF945D90"></span><span lang="EN-US" style="font-size:14.0pt"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;color:red">Urgent problem</span><span style="font-size:14.0pt;font-family:宋体;color:red">:(</span><span lang="EN-US" style="font-size:14.0pt;color:red">1</span><span style="font-size:14.0pt;font-family:宋体;color:red">)</span><span lang="EN-US" style="font-size:14.0pt;color:red">Whether
 a large number of lost packets because speed=10Mb/s</span><span style="font-size:14.0pt;font-family:宋体;color:red">?</span><span lang="EN-US" style="font-size:14.0pt;color:red">How to modify this value</span><span style="font-size:14.0pt;font-family:宋体;color:red">?</span><span lang="EN-US" style="font-size:14.0pt;color:red"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt">                           
</span><span style="font-size:14.0pt;font-family:宋体;color:red">(</span><span lang="EN-US" style="font-size:14.0pt;color:red">2</span><span style="font-size:14.0pt;font-family:宋体;color:red">)</span><span lang="EN-US" style="font-size:14.0pt;color:red">Why
 create ovs-switch</span><span style="font-size:14.0pt;font-family:宋体;color:red">(</span><span lang="EN-US" style="font-size:14.0pt;color:red">datapath_type=<wbr>netdev</span><span style="font-size:14.0pt;font-family:宋体;color:red">)</span><span lang="EN-US" style="font-size:14.0pt;color:red">will
 make the default link_speed=10Mb/s</span><span style="font-size:14.0pt;font-family:宋体;color:red">?</span><span lang="EN-US" style="font-size:14.0pt;color:red"><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:63.0pt;text-indent:21.0pt"><span style="font-size:14.0pt;font-family:宋体;color:red">(</span><span lang="EN-US" style="font-size:14.0pt;color:red">3</span><span style="font-size:14.0pt;font-family:宋体;color:red">)</span><span lang="EN-US" style="font-size:14.0pt;color:red">Whether
 or not special parameter settings are required for link_speed=10Gb/s</span><span style="font-size:14.0pt;font-family:宋体;color:red">?</span><span lang="EN-US" style="font-size:14.0pt"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt">Remarks</span><span style="font-size:14.0pt;font-family:宋体">:(</span><span lang="EN-US" style="font-size:14.0pt">1</span><span style="font-size:14.0pt;font-family:宋体">)</span><span lang="EN-US" style="font-size:14.0pt">Virtual
 Firewall status is ok.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt"><u></u> <u></u></span></p>
</div>
</div>

<br>______________________________<wbr>_________________<br>
discuss mailing list<br>
<a href="mailto:discuss@openvswitch.org">discuss@openvswitch.org</a><br>
<a href="https://mail.openvswitch.org/mailman/listinfo/ovs-discuss" rel="noreferrer" target="_blank">https://mail.openvswitch.org/<wbr>mailman/listinfo/ovs-discuss</a><br>
<br></blockquote></div><br></div>