From: Jianbo Liu <jianbol@nvidia.com>
To: Gerald Yang <gerald.yang@canonical.com>,
Frode Nordahl <frode.nordahl@canonical.com>,
Saeed Mahameed <saeedm@nvidia.com>,
"Ariel Levkovich" <lariel@nvidia.com>
Cc: "David S . Miller" <davem@davemloft.net>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Eric Dumazet <edumazet@google.com>, <netdev@vger.kernel.org>,
Tariq Toukan <tariqt@nvidia.com>,
Saeed Mahameed <saeed@kernel.org>,
Jay Vosburgh <jay.vosburgh@canonical.com>
Subject: Re: [net 09/10] net/mlx5e: Don't offload internal port if filter device is out device
Date: Wed, 6 Nov 2024 15:28:20 +0800 [thread overview]
Message-ID: <2b64b3d5-3cce-46b3-81e8-f914a1f18d2c@nvidia.com> (raw)
In-Reply-To: <20241106071727.466252-1-gerald.yang@canonical.com>
On 11/6/2024 3:17 PM, Gerald Yang wrote:
>>>> From: Jianbo Liu <jianbol@nvidia.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
>
> Hi Jianbo,
>
> Thanks for checking this, since this issue affects our production environment,
> is it possible to revert this commit first, if it would take some time to fix it?
>
Hi Gerald,
I already sent the fix to Frode last week. Have you tested it?
Better to use the fix instead of reverting it, right?
Thanks!
Jianbo
> Thanks,
> Gerald
>
next prev parent reply other threads:[~2024-11-06 7:28 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-12 19:51 [pull request][net 00/10] mlx5 fixes 2023-10-12 Saeed Mahameed
2023-10-12 19:51 ` [net 01/10] net/mlx5: Perform DMA operations in the right locations Saeed Mahameed
2023-10-14 1:10 ` patchwork-bot+netdevbpf
2023-10-12 19:51 ` [net 02/10] net/mlx5: E-switch, register event handler before arming the event Saeed Mahameed
2023-10-12 19:51 ` [net 03/10] net/mlx5: Bridge, fix peer entry ageing in LAG mode Saeed Mahameed
2023-10-12 19:51 ` [net 04/10] net/mlx5: Handle fw tracer change ownership event based on MTRC Saeed Mahameed
2023-10-12 19:51 ` [net 05/10] net/mlx5e: RX, Fix page_pool allocation failure recovery for striding rq Saeed Mahameed
2023-10-12 19:51 ` [net 06/10] net/mlx5e: RX, Fix page_pool allocation failure recovery for legacy rq Saeed Mahameed
2023-10-12 19:51 ` [net 07/10] net/mlx5e: XDP, Fix XDP_REDIRECT mpwqe page fragment leaks on shutdown Saeed Mahameed
2023-10-12 19:51 ` [net 08/10] net/mlx5e: Take RTNL lock before triggering netdev notifiers Saeed Mahameed
2023-10-12 19:51 ` [net 09/10] net/mlx5e: Don't offload internal port if filter device is out device Saeed Mahameed
2024-10-23 9:32 ` Frode Nordahl
2024-10-24 8:17 ` Jianbo Liu
2024-11-06 7:17 ` Gerald Yang
2024-11-06 7:28 ` Jianbo Liu [this message]
2024-11-06 8:59 ` Gerald Yang
2023-10-12 19:51 ` [net 10/10] net/mlx5e: Fix VF representors reporting zero counters to "ip -s" command Saeed Mahameed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2b64b3d5-3cce-46b3-81e8-f914a1f18d2c@nvidia.com \
--to=jianbol@nvidia.com \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=frode.nordahl@canonical.com \
--cc=gerald.yang@canonical.com \
--cc=jay.vosburgh@canonical.com \
--cc=kuba@kernel.org \
--cc=lariel@nvidia.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=saeed@kernel.org \
--cc=saeedm@nvidia.com \
--cc=tariqt@nvidia.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).