<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<br>
<code>
<pre style="background-color:rgba(0,0,0,0.05);padding:0.2em 1em"><div><span style="color:rgb(17, 17, 17)"><font style="font-size:14.5px">Hello everyone,</font></span></div><br><div><span style="color:rgb(17, 17, 17)"><font style="font-size:14.5px">We are trying to run ovs and dpdk at the same time, but whenever I try to run ring-client application, I am getting ovswitchd error. Somehow dpdk ring-client affects ovs and kills its process.</font></span></div><div><span style="color:rgb(17, 17, 17)"><font style="font-size:14.5px">Does anyone have an idea?</font></span></div><br><div><span style="color:rgb(17, 17, 17)"><font style="font-size:14.5px">I run ovs like</font></span></div><div><span style="color:rgb(17, 17, 17)"><font style="font-size:14.5px">ovs-vsctl --no-wait init</font></span></div><div><span style="color:rgb(17, 17, 17)"><font style="font-size:14.5px">ovs-vsctl --no-wait set Open_vSwitch . other_config:dpdk-init=true</font></span></div><div><span style="color:rgb(17, 17, 17)"><font style="font-size:14.5px">ovs-vsctl --no-wait set Open_vSwitch . other_config:dpdk-socket-mem=&quot;1024&quot;</font></span></div><div><span style="color:rgb(17, 17, 17)"><font style="font-size:14.5px">ovs-vsctl --no-wait set Open_vSwitch . other_config:pmd-cpu-mask=&quot;0x8&quot;</font></span></div><div><span style="color:rgb(17, 17, 17)"><font style="font-size:14.5px">ovs-vsctl --no-wait set Open_vSwitch . other_config:dpdk-extra=&quot; --proc-type=primary&quot;</font></span></div><div><span style="color:rgb(17, 17, 17)"><font style="font-size:14.5px">.... and so on so forth, bridges ports etc.</font></span></div><br><div><span style="color:rgb(17, 17, 17)"><font style="font-size:14.5px">this is ovs-vsctl show output:</font></span></div><br><div><span style="color:rgb(17, 17, 17)"><font style="font-size:14.5px">e2fc7268-a7f2-4635-a8b6-aae3ec427c52</font></span></div><div><span style="color:rgb(17, 17, 17)"><font style="font-size:14.5px">&nbsp;&nbsp;&nbsp; Bridge br-ex</font></span></div><div><span style="color:rgb(17, 17, 17)"><font style="font-size:14.5px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Port &quot;dpdk0&quot;</font></span></div><div><span style="color:rgb(17, 17, 17)"><font style="font-size:14.5px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Interface &quot;dpdk0&quot;</font></span></div><div><span style="color:rgb(17, 17, 17)"><font style="font-size:14.5px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; type: dpdk</font></span></div><div><span style="color:rgb(17, 17, 17)"><font style="font-size:14.5px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; options: {dpdk-devargs=&quot;0000:03:00.0&quot;}</font></span></div><div><span style="color:rgb(17, 17, 17)"><font style="font-size:14.5px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Port &quot;dpdkr0&quot;</font></span></div><div><span style="color:rgb(17, 17, 17)"><font style="font-size:14.5px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Interface &quot;dpdkr0&quot;</font></span></div><div><span style="color:rgb(17, 17, 17)"><font style="font-size:14.5px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; type: dpdkr</font></span></div><div><span style="color:rgb(17, 17, 17)"><font style="font-size:14.5px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Port br-ex</font></span></div><div><span style="color:rgb(17, 17, 17)"><font style="font-size:14.5px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Interface br-ex</font></span></div><div><span style="color:rgb(17, 17, 17)"><font style="font-size:14.5px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; type: internal</font></span></div><div><span style="color:rgb(17, 17, 17)"><font style="font-size:14.5px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Port &quot;dpdk1&quot;</font></span></div><div><span style="color:rgb(17, 17, 17)"><font style="font-size:14.5px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Interface &quot;dpdk1&quot;</font></span></div><div><span style="color:rgb(17, 17, 17)"><font style="font-size:14.5px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; type: dpdk</font></span></div><div><span style="color:rgb(17, 17, 17)"><font style="font-size:14.5px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; options: {dpdk-devargs=&quot;0000:04:00.0&quot;}</font></span></div><div><span style="color:rgb(17, 17, 17)"><font style="font-size:14.5px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Port &quot;dpdkr1&quot;</font></span></div><div><span style="color:rgb(17, 17, 17)"><font style="font-size:14.5px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Interface &quot;dpdkr1&quot;</font></span></div><div><span style="color:rgb(17, 17, 17)"><font style="font-size:14.5px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; type: dpdkr</font></span></div><br><div><span style="color:rgb(17, 17, 17)"><font style="font-size:14.5px">and this is how I am run ring client while ovs is running:</font></span></div><div><span style="color:rgb(17, 17, 17)"><font style="font-size:14.5px">&nbsp; ./a.out -c 0x4 -n 4 --proc-type=secondary -- -n 0</font></span></div><div><span style="color:rgb(17, 17, 17)"><font style="font-size:14.5px">This looks like running perfectly. The outpus are :</font></span></div><br><div><span style="color:rgb(17, 17, 17)"><font style="font-size:14.5px">EAL: Detected 4 lcore(s)</font></span></div><div><span style="color:rgb(17, 17, 17)"><font style="font-size:14.5px">EAL: Detected 1 NUMA nodes</font></span></div><div><span style="color:rgb(17, 17, 17)"><font style="font-size:14.5px">EAL: Multi-process socket /var/run/dpdk/rte/mp_socket_30649_2caac94f158</font></span></div><div><span style="color:rgb(17, 17, 17)"><font style="font-size:14.5px">EAL: Probing VFIO support...</font></span></div><br><br><div><span style="color:rgb(17, 17, 17)"><font style="font-size:14.5px">EAL: Fail to recv reply for request /var/run/dpdk/rte/mp_socket:eal_vfio_mp_sync</font></span></div><div><span style="color:rgb(17, 17, 17)"><font style="font-size:14.5px">EAL:&nbsp;&nbsp; cannot request default container fd</font></span></div><div><span style="color:rgb(17, 17, 17)"><font style="font-size:14.5px">EAL: VFIO support could not be initialized</font></span></div><div><span style="color:rgb(17, 17, 17)"><font style="font-size:14.5px">APP: Finished Process Init.</font></span></div><br><div><span style="color:rgb(17, 17, 17)"><font style="font-size:14.5px">Client process 0 handling packets</font></span></div><div><span style="color:rgb(17, 17, 17)"><font style="font-size:14.5px">[Press Ctrl-C to quit ...]</font></span></div><br><div><span style="color:rgb(17, 17, 17)"><font style="font-size:14.5px">and this is the error in syslog:</font></span></div><br><div><span style="color:rgb(17, 17, 17)"><font style="font-size:14.5px">l 31 15:34:00 ulak ovs-vswitchd[1239]: ovs|00164|dpif_netdev|INFO|Core 3 on numa node 0 assigned port 'dpdkr0' rx queue 0 (measured processing cycles 0).</font></span></div><div><span style="color:rgb(17, 17, 17)"><font style="font-size:14.5px">Jul 31 15:34:00 ulak ovs-vswitchd[1239]: ovs|00165|dpif_netdev|INFO|Core 3 on numa node 0 assigned port 'dpdkr1' rx queue 0 (measured processing cycles 0).</font></span></div><div><span style="color:rgb(17, 17, 17)"><font style="font-size:14.5px">Jul 31 15:34:00 ulak ovs-vswitchd[1239]: ovs|00166|dpif_netdev|INFO|Core 3 on numa node 0 assigned port 'dpdk0' rx queue 0 (measured processing cycles 0).</font></span></div><div><span style="color:rgb(17, 17, 17)"><font style="font-size:14.5px">Jul 31 15:34:00 ulak ovs-vswitchd[1239]: ovs|00167|dpif_netdev|INFO|Core 3 on numa node 0 assigned port 'dpdk1' rx queue 0 (measured processing cycles 0).</font></span></div><div><span style="color:rgb(17, 17, 17)"><font style="font-size:14.5px">Jul 31 15:34:00 ulak ovs-vswitchd[1239]: ovs|00168|bridge|INFO|bridge br-ex: added interface dpdk1 on port 2</font></span></div><div><span style="color:rgb(17, 17, 17)"><font style="font-size:14.5px">Jul 31 15:38:12 ulak a.out[30649]: EAL: Probing VFIO support...</font></span></div><div><span style="color:rgb(17, 17, 17)"><font style="font-size:14.5px">Jul 31 15:38:12 ulak ovs-vswitchd[1239]: ovs|00001|dpdk|ERR|EAL: Cannot find action: eal_vfio_mp_sync</font></span></div><div><span style="color:rgb(17, 17, 17)"><font style="font-size:14.5px">Jul 31 15:38:17 ulak a.out[30649]: EAL: Fail to recv reply for request /var/run/dpdk/rte/mp_socket:eal_vfio_mp_sync</font></span></div><div><span style="color:rgb(17, 17, 17)"><font style="font-size:14.5px">Jul 31 15:38:17 ulak a.out[30649]: EAL:&nbsp;&nbsp; cannot request default container fd</font></span></div><div><span style="color:rgb(17, 17, 17)"><font style="font-size:14.5px">Jul 31 15:38:17 ulak a.out[30649]: EAL: VFIO support could not be initialized</font></span></div><div><span style="color:rgb(17, 17, 17)"><font style="font-size:14.5px">Jul 31 15:38:17 ulak a.out[30649]: APP: Finished Process Init.</font></span></div><div><span style="color:rgb(17, 17, 17)"><font style="font-size:14.5px">Jul 31 15:38:17 ulak kernel: [ 1899.696680] show_signal_msg: 9 callbacks suppressed</font></span></div><div><span style="color:rgb(17, 17, 17)"><font style="font-size:14.5px">Jul 31 15:38:17 ulak kernel: [ 1899.696689] pmd10[1300]: segfault at 6e000000e3 ip 0000000000a96569 sp 00007fb239668030 error 6 in ovs-vswitchd[400000&#43;16a1000]</font></span></div><div><span style="color:rgb(17, 17, 17)"><font style="font-size:14.5px">Jul 31 15:38:17 ulak systemd[1]: Created slice system-systemd\x2dcoredump.slice.</font></span></div><div><span style="color:rgb(17, 17, 17)"><font style="font-size:14.5px">Jul 31 15:38:17 ulak systemd[1]: Started Process Core Dump (PID 30653/UID 0).</font></span></div><div><span style="color:rgb(17, 17, 17)"><font style="font-size:14.5px">Jul 31 15:38:38 ulak systemd[1]: Started Session 3 of user ulak.</font></span></div></pre>
</code><br>
<div><signature id="initial">
<div>
<div>Sent from <a href="https://link.getmailspring.com/link/2EF7D756-8D99-4287-8CDE-C1F0DBA36C05@getmailspring.com/0?redirect=https%3A%2F%2Fgetmailspring.com%2F&amp;recipient=b3ZzLWRpc2N1c3NAb3BlbnZzd2l0Y2gub3Jn">
Mailspring</a>, the best free email app for work</div>
</div>
</signature></div>
<img class="mailspring-open" alt="Sent from Mailspring" width="0" height="0" style="border:0; width:0; height:0;" src="https://link.getmailspring.com/open/2EF7D756-8D99-4287-8CDE-C1F0DBA36C05@getmailspring.com?me=d962384c&amp;recipient=b3ZzLWRpc2N1c3NAb3BlbnZzd2l0Y2gub3Jn">
</body>
</html>