]> git.apps.os.sepia.ceph.com Git - ceph-client.git/commit
net/mlx5: HWS, ignore flow level for multi-dest table
authorYevgeny Kliteynik <kliteyn@nvidia.com>
Mon, 22 Sep 2025 07:11:33 +0000 (10:11 +0300)
committerJakub Kicinski <kuba@kernel.org>
Wed, 24 Sep 2025 00:17:30 +0000 (17:17 -0700)
commitefb877cf27e300e47e1c051f4e8fd80fc42325d5
treeeddb652dbff7fbab71913045e62ac75c54bcbabc
parent6043819e707cefb1c9e59d6e431dcfa735c4f975
net/mlx5: HWS, ignore flow level for multi-dest table

When HWS creates multi-dest FW table and adds rules to
forward to other tables, ignore the flow level enforcement
in FW, because HWS is responsible for table levels.

This fixes the following error:

  mlx5_core 0000:08:00.0: mlx5_cmd_out_err:818:(pid 192306):
     SET_FLOW_TABLE_ENTRY(0x936) op_mod(0x0) failed,
     status bad parameter(0x3), syndrome (0x6ae84c), err(-22)

Fixes: 504e536d9010 ("net/mlx5: HWS, added actions handling")
Signed-off-by: Yevgeny Kliteynik <kliteyn@nvidia.com>
Reviewed-by: Moshe Shemesh <moshe@nvidia.com>
Reviewed-by: Mark Bloch <mbloch@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/1758525094-816583-3-git-send-email-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/steering/hws/action.c
drivers/net/ethernet/mellanox/mlx5/core/steering/hws/fs_hws.c
drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws.h