]> www.infradead.org Git - users/hch/misc.git/commitdiff
net/mlx5: HWS, remove unused code for alias flow tables
authorYevgeny Kliteynik <kliteyn@nvidia.com>
Wed, 12 Mar 2025 11:49:52 +0000 (13:49 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Wed, 19 Mar 2025 17:17:15 +0000 (18:17 +0100)
Alias flow tables are not in use by HWS - remove the unused code.

Signed-off-by: Yevgeny Kliteynik <kliteyn@nvidia.com>
Reviewed-by: Vlad Dogaru <vdogaru@nvidia.com>
Reviewed-by: Mark Bloch <mbloch@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/1741780194-137519-2-git-send-email-tariqt@nvidia.com
Reviewed-by: Dawid Osuchowski <dawid.osuchowski@linux.intel.com>
Reviewed-by: Michal Kubiak <michal.kubiak@intel.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/mellanox/mlx5/core/steering/hws/cmd.c
drivers/net/ethernet/mellanox/mlx5/core/steering/hws/cmd.h

index 487e75476b0ab8d41235d10e55164121a5b6e659..e8f98c109b999e8ba44ee5f320c2e29a5360b3b1 100644 (file)
@@ -130,12 +130,6 @@ int mlx5hws_cmd_flow_table_destroy(struct mlx5_core_dev *mdev,
        return mlx5_cmd_exec_in(mdev, destroy_flow_table, in);
 }
 
-void mlx5hws_cmd_alias_flow_table_destroy(struct mlx5_core_dev *mdev,
-                                         u32 table_id)
-{
-       hws_cmd_general_obj_destroy(mdev, MLX5_OBJ_TYPE_FT_ALIAS, table_id);
-}
-
 static int hws_cmd_flow_group_create(struct mlx5_core_dev *mdev,
                                     struct mlx5hws_cmd_fg_attr *fg_attr,
                                     u32 *group_id)
index 610c63d81ad95556604cb471daccecc692845161..51d9e0291ac1653b74066e19e2a5066c8e1b9c51 100644 (file)
@@ -258,9 +258,6 @@ int mlx5hws_cmd_flow_table_query(struct mlx5_core_dev *mdev,
 int mlx5hws_cmd_flow_table_destroy(struct mlx5_core_dev *mdev,
                                   u8 fw_ft_type, u32 table_id);
 
-void mlx5hws_cmd_alias_flow_table_destroy(struct mlx5_core_dev *mdev,
-                                         u32 table_id);
-
 int mlx5hws_cmd_rtc_create(struct mlx5_core_dev *mdev,
                           struct mlx5hws_cmd_rtc_create_attr *rtc_attr,
                           u32 *rtc_id);