lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <660b6c9f-137d-4ba4-94b9-4bcccc300f8d@nvidia.com>
Date: Thu, 24 Oct 2024 16:17:18 +0800
From: Jianbo Liu <jianbol@...dia.com>
To: Frode Nordahl <frode.nordahl@...onical.com>, Saeed Mahameed
	<saeedm@...dia.com>, Ariel Levkovich <lariel@...dia.com>
CC: "David S. Miller" <davem@...emloft.net>, Jakub Kicinski <kuba@...nel.org>,
	Paolo Abeni <pabeni@...hat.com>, Eric Dumazet <edumazet@...gle.com>,
	<netdev@...r.kernel.org>, Tariq Toukan <tariqt@...dia.com>, Saeed Mahameed
	<saeed@...nel.org>
Subject: Re: [net 09/10] net/mlx5e: Don't offload internal port if filter
 device is out device



On 10/23/2024 5:32 PM, Frode Nordahl wrote:
> On Thu, Oct 12, 2023 at 9:53 PM Saeed Mahameed <saeed@...nel.org> wrote:
>>
>> From: Jianbo Liu <jianbol@...dia.com>
>>
>> In the cited commit, if the routing device is ovs internal port, the
>> out device is set to uplink, and packets go out after encapsulation.
>>
>> If filter device is uplink, it can trigger the following syndrome:
>> mlx5_core 0000:08:00.0: mlx5_cmd_out_err:803:(pid 3966): SET_FLOW_TABLE_ENTRY(0x936) op_mod(0x0) failed, status bad parameter(0x3), syndrome (0xcdb051), err(-22)
>>
>> Fix this issue by not offloading internal port if filter device is out
>> device. In this case, packets are not forwarded to the root table to
>> be processed, the termination table is used instead to forward them
>> from uplink to uplink.
> 
> This patch breaks forwarding for in production use cases with hardware
> offload enabled. In said environments, we do not see the above
> mentioned syndrome, so it appears the logic change in this patch hits
> too wide.
> 

Thank you for the report. We'll send fix or maybe revert later.

Jianbo

> I do not know the details and inner workings of the constructs
> outlined above, can you explain how this is intended to work to help
> our understanding of how to approach a fix to this?
> 
> Flow steering dumps from a system showing broken and working behavior
> (same kernel with this patch reverted) have been attached to
> https://launchpad.net/bugs/2085018.
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ