diff mbox series

[net-next] net/mlx5: E-Switch, Remove unused declarations

Message ID 20240816101550.881844-1-yuehaibing@huawei.com (mailing list archive)
State Not Applicable
Headers show
Series [net-next] net/mlx5: E-Switch, Remove unused declarations | expand

Commit Message

Yue Haibing Aug. 16, 2024, 10:15 a.m. UTC
These are never implenmented since commit b691b1116e82 ("net/mlx5: Implement
devlink port function cmds to control ipsec_packet").

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
---
 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h | 3 ---
 1 file changed, 3 deletions(-)

Comments

Simon Horman Aug. 16, 2024, 4:53 p.m. UTC | #1
On Fri, Aug 16, 2024 at 06:15:50PM +0800, Yue Haibing wrote:
> These are never implenmented since commit b691b1116e82 ("net/mlx5: Implement
> devlink port function cmds to control ipsec_packet").
> 
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>

Reviewed-by: Simon Horman <horms@kernel.org>
patchwork-bot+netdevbpf@kernel.org Aug. 20, 2024, 1 a.m. UTC | #2
Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Fri, 16 Aug 2024 18:15:50 +0800 you wrote:
> These are never implenmented since commit b691b1116e82 ("net/mlx5: Implement
> devlink port function cmds to control ipsec_packet").
> 
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
> ---
>  drivers/net/ethernet/mellanox/mlx5/core/eswitch.h | 3 ---
>  1 file changed, 3 deletions(-)

Here is the summary with links:
  - [net-next] net/mlx5: E-Switch, Remove unused declarations
    https://git.kernel.org/netdev/net-next/c/c5e2a1b06760

You are awesome, thank you!
diff mbox series

Patch

diff --git a/drivers/net/ethernet/mellanox/mlx5/core/eswitch.h b/drivers/net/ethernet/mellanox/mlx5/core/eswitch.h
index 578466d69f21..f44b4c7ebcfd 100644
--- a/drivers/net/ethernet/mellanox/mlx5/core/eswitch.h
+++ b/drivers/net/ethernet/mellanox/mlx5/core/eswitch.h
@@ -887,9 +887,6 @@  int mlx5_esw_ipsec_vf_packet_offload_set(struct mlx5_eswitch *esw, struct mlx5_v
 					 bool enable);
 int mlx5_esw_ipsec_vf_packet_offload_supported(struct mlx5_core_dev *dev,
 					       u16 vport_num);
-void mlx5_esw_vport_ipsec_offload_enable(struct mlx5_eswitch *esw);
-void mlx5_esw_vport_ipsec_offload_disable(struct mlx5_eswitch *esw);
-
 #else  /* CONFIG_MLX5_ESWITCH */
 /* eswitch API stubs */
 static inline int  mlx5_eswitch_init(struct mlx5_core_dev *dev) { return 0; }