Skip to contentSkip to conversation

net/mlx5e: remove declarations of mlx5e_shampo_{fill_umr,dealloc_hd}

PATCH Applied Simon Horman 4 participants 4 messages Feb 6 – Feb 10

Subsystems (4)
lore
Share & tools
lore

Simon Horman

author reviewer
#0 lore raw

PATCH 1/1 net/mlx5e: remove declarations of mlx5e_shampo_{fill_umr,dealloc_hd}

These functions were recently removed by commit 24cf78c73831 ("net/mlx5e: SHAMPO, Switch to header memcpy"), however, their declarations were left behind.

This patch removes those declarations.

Flagged by review-prompts while I was exercising Orc mode locally. Compile tested only.

---
 drivers/net/ethernet/mellanox/mlx5/core/en.h | 2 --
 1 file changed, 2 deletions(-)
drivers/net/ethernet/mellanox/mlx5/core/en.h +0 -2
index 843f732e4eedb005eba58b9a9ebe48c6703906e5..a7de3a3efc49f6c237ea42b0b932fbe1f5aca847 100644
@@ -1034,8 +1034,6 @@ void mlx5e_build_ptys2ethtool_map(void);
 bool mlx5e_check_fragmented_striding_rq_cap(struct mlx5_core_dev *mdev, u8 page_shift,
 					    enum mlx5e_mpwrq_umr_mode umr_mode);
 
-void mlx5e_shampo_fill_umr(struct mlx5e_rq *rq, int len);
-void mlx5e_shampo_dealloc_hd(struct mlx5e_rq *rq);
 void mlx5e_get_stats(struct net_device *dev, struct rtnl_link_stats64 *stats);
 void mlx5e_fold_sw_stats64(struct mlx5e_priv *priv, struct rtnl_link_stats64 *s);
 
Reviewed-by on v1 1/1
#1 lore raw
Quoted 6 lines · Simon Horman

These functions were recently removed by commit 24cf78c73831 ("net/mlx5e: SHAMPO, Switch to header memcpy"), however, their declarations were left behind.

This patch removes those declarations.

Quoted 8 lines

Flagged by review-prompts while I was exercising Orc mode locally. Compile tested only.

---
 drivers/net/ethernet/mellanox/mlx5/core/en.h | 2 --
 1 file changed, 2 deletions(-)
Reviewed-by on v1 1/1
#2 lore raw
In reply to Simon Horman
Quoted 23 lines · Simon Horman

These functions were recently removed by commit 24cf78c73831 ("net/mlx5e: SHAMPO, Switch to header memcpy"), however, their declarations were left behind.

This patch removes those declarations.

Flagged by review-prompts while I was exercising Orc mode locally. Compile tested only.

---
  drivers/net/ethernet/mellanox/mlx5/core/en.h | 2 --
  1 file changed, 2 deletions(-)
drivers/net/ethernet/mellanox/mlx5/core/en.h +0 -0
index 843f732e4eedb005eba58b9a9ebe48c6703906e5..a7de3a3efc49f6c237ea42b0b932fbe1f5aca847 100644

drivers/net/ethernet/mellanox/mlx5/core/en.h void mlx5e_build_ptys2ethtool_map(void); · line 1039

Quoted 8 lines
drivers/net/ethernet/mellanox/mlx5/core/en.h +0 -2
@@ -1034,8 +1034,6 @@ void mlx5e_build_ptys2ethtool_map(void);
  bool mlx5e_check_fragmented_striding_rq_cap(struct mlx5_core_dev *mdev, u8 page_shift,
  					    enum mlx5e_mpwrq_umr_mode umr_mode);
 
-void mlx5e_shampo_fill_umr(struct mlx5e_rq *rq, int len);
-void mlx5e_shampo_dealloc_hd(struct mlx5e_rq *rq);
  void mlx5e_get_stats(struct net_device *dev, struct rtnl_link_stats64 *stats);
  void mlx5e_fold_sw_stats64(struct mlx5e_priv *priv, struct rtnl_link_stats64 *s);
 

Thanks for your patch.

#3 lore raw
In reply to Simon Horman
This patch was applied to netdev/net-next.git (main) by Paolo Abeni <[email protected]>:

Hello:

This patch was applied to netdev/net-next.git (main) by Paolo Abeni <[email protected]>:

Quoted 10 lines · On Fri, 06 Feb 2026 11:18:51 +0000 you wrote:

These functions were recently removed by commit 24cf78c73831 ("net/mlx5e: SHAMPO, Switch to header memcpy"), however, their declarations were left behind.

This patch removes those declarations.

Flagged by review-prompts while I was exercising Orc mode locally. Compile tested only.

[...]

Here is the summary with links:
- [net-next] net/mlx5e: remove declarations of mlx5e_shampo_{fill_umr,dealloc_hd}

    https://git.kernel.org/netdev/net-next/c/ad1f18e985cb

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html