<div dir="ltr">Hi Koukal<div><br></div><div>I note that you&#39;re using the 4.18 kernel from Ubuntu; For Mellanox hardware offload I&#39;d suggest you switch to using the hwe-edge kernel (5.3) as this is generally more mature for this (and other mlx5_core) feature - package name is &#39;linux-generic-hwe-18.04-edge&#39;.</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Nov 7, 2019 at 9:23 AM Koukal Petr &lt;<a href="mailto:p.koukal@radiokomunikace.cz">p.koukal@radiokomunikace.cz</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



<div bgcolor="#FFFFFF">
<p><span lang="en"><span title="">In case I turn off hw-offload with</span><br>
<span title="">ovs-vsctl set Open_vSwitch.</span> <span title="">other-config: hw-offload = false</span><br>
<span title="">then &quot;ovs-vswitchd&quot; is without collision.</span></span></p>
<p><br>
<span lang="en"><span title=""><span lang="en"><span title="">Is it possible to reach someone who knows what to do with the offload problem?</span></span></span></span></p>
<p><span lang="en"><span title=""><span lang="en"><span title=""><span lang="en"><span title="">Thank you for your help.</span></span></span></span></span></span></p>
<p><span lang="en"><span title=""><span lang="en"><span title="">Petr<br>
</span></span></span></span></p>
<div>On 11/6/19 6:48 PM, Ben Pfaff wrote:<br>
</div>
<blockquote type="cite">
<pre>On Wed, Nov 06, 2019 at 01:59:36PM +0100, Koukal Petr wrote:
</pre>
<blockquote type="cite">
<pre>The problem is the same even if hw-offload is off.

I&#39;m sending a log from ovs-vswitchd.log just after restarting the whole
openvswitch-switch.
Here you can see what happens before the assertion pops up.

ethtool -K phys1-1 hw-tc-offload off
ethtool -K phys1-2 hw-tc-offload off
</pre>
</blockquote>
<pre>This demonstrates turning off hardware offload at the ethtool level.
However, even with that, I believe that OVS will still try to use it if
OVS is configured for hardware offload.  It looks like your OVS does
have hardware offload enabled.  To turn it off, run:

ovs-vsctl set Open_vSwitch . other-config:hw-offload=false

Then restart OVS and see if it makes a difference.
</pre>
</blockquote>
<div><br>
</div>
<p style="font-family:calibri,tahoma,verdana;font-size:9pt">Informace obsažené v této e-mailové zprávě a všech přiložených souborech jsou důvěrné a jsou určeny pouze pro potřebu adresáta. Prosíme, abyste v případě, že tento e-mail obdržíte omylem, neprodleně
 upozornili odesílatele a tento e-mail odstranili z Vašeho systému. Pokud nejste zamýšleným příjemcem, berte prosím na vědomí, že zveřejnění, kopírování, šíření či přijetí jakéhokoliv opatření v souvislosti s obsahem této zprávy je zakázáno a může být protiprávní.
</p>
<p style="font-family:calibri,tahoma,verdana;font-size:9pt">_____________________________________________________________________
</p>
<p style="font-family:calibri,tahoma,verdana;font-size:9pt">The information contained in this e-mail message and all attached files is confidential and is intended solely for the use of the individual or entity to whom they are addressed. Please notify
 the sender immediately if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this
 information is prohibited and may be unlawful. </p>
</div>

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