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)
committerSaeed Mahameed <saeedm@nvidia.com>
Fri, 21 Apr 2023 01:47:33 +0000 (18:47 -0700)
commit081abcacaf0a9505c0d4cc9780b12e6ce5d33630
treeb7b83670040a6d04e7cecd0024e7b69b6b5bcdde
parent1b540decd03acd736693aabb6cb46c71fca38ae6
Revert "net/mlx5e: Don't use termination table when redundant"

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>
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads_termtbl.c