net/mlx5e: remove declarations of mlx5e_shampo_{fill_umr,dealloc_hd}
Subsystems (4)
Simon Horman
reviewerPATCH 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
@@ -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);
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.
Signed-off-by Simon Horman <[email protected]>--- drivers/net/ethernet/mellanox/mlx5/core/en.h | 2 -- 1 file changed, 2 deletions(-)
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.
Signed-off-by Simon Horman <[email protected]>--- drivers/net/ethernet/mellanox/mlx5/core/en.h | 2 -- 1 file changed, 2 deletions(-)drivers/net/ethernet/mellanox/mlx5/core/en.h +0
-0
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.
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