]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net/mlx5: Lag, move devcom registration to LAG layer
authorShay Drory <shayd@nvidia.com>
Mon, 15 Sep 2025 12:41:08 +0000 (15:41 +0300)
committerJakub Kicinski <kuba@kernel.org>
Wed, 17 Sep 2025 00:25:53 +0000 (17:25 -0700)
commit5a977b5833b7a261bfa6094595ffa73c1071588c
tree46e35ef9483be7bfda794da161b4e84f3380c814
parentf05a82fbcc645dceeed242d80bccb9dad2ca3383
net/mlx5: Lag, move devcom registration to LAG layer

Move the devcom registration for the HCA_PORTS component from the core
initialization path into the LAG logic. This better reflects the logical
ownership of this component and ensures proper alignment with the LAG
lifecycle.

Signed-off-by: Shay Drory <shayd@nvidia.com>
Reviewed-by: Mark Bloch <mbloch@nvidia.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/1757940070-618661-3-git-send-email-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/lag/lag.c
drivers/net/ethernet/mellanox/mlx5/core/main.c