]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
Revert "net/mlx5e: Don't use termination table when redundant"
authorVlad Buslov <vladbu@nvidia.com>
Thu, 13 Apr 2023 13:06:59 +0000 (15:06 +0200)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 7 Jul 2023 10:17:02 +0000 (12:17 +0200)
commit0a65fc8d7f27ccf3e04f7367f5691479dff04baa
treefde436ed3829a5f0f0e95e26891f2ba1c2f22dda
parent9e4523dbcf892058c746007f6b96f29bcaa0d82f
Revert "net/mlx5e: Don't use termination table when redundant"

BugLink: https://bugs.launchpad.net/bugs/2025067
[ Upstream commit 081abcacaf0a9505c0d4cc9780b12e6ce5d33630 ]

This reverts commit 14624d7247fcd0f3114a6f5f17b3c8d1020fbbb7.

The termination table usage is requires for DMFS steering mode as firmware
doesn't support mixed table destinations list which causes following
syndrome with hairpin rules:

[81922.283225] mlx5_core 0000:08:00.0: mlx5_cmd_out_err:803:(pid 25977): SET_FLOW_TABLE_ENTRY(0x936) op_mod(0x0) failed, status bad parameter(0x3), syndrome (0xaca205), err(-22)

Fixes: 14624d7247fc ("net/mlx5e: Don't use termination table when redundant")
Signed-off-by: Vlad Buslov <vladbu@nvidia.com>
Reviewed-by: Roi Dayan <roid@nvidia.com>
Reviewed-by: Maor Dickman <maord@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads_termtbl.c