Commit 736dab27 authored by Shahar Shitrit's avatar Shahar Shitrit Committed by Greg Kroah-Hartman
Browse files

net/mlx5: Relocate function declarations from port.h to mlx5_core.h



[ Upstream commit a2f61f1d ]

The port header is a general file under include, yet it
contains declarations for functions that are either not
exported or exported but not used outside the mlx5_core
driver.

To enhance code organization, we move these declarations
to mlx5_core.h, where they are more appropriately scoped.

This refactor removes unnecessary exported symbols and
prevents unexported functions from being inadvertently
referenced outside of the mlx5_core driver.

Signed-off-by: default avatarShahar Shitrit <shshitrit@nvidia.com>
Reviewed-by: default avatarCarolina Jubran <cjubran@nvidia.com>
Signed-off-by: default avatarTariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/20250304160620.417580-2-tariqt@nvidia.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
Stable-dep-of: 451d2849 ("net/mlx5e: Query FW for buffer ownership")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent cacc591f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment