]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net/mlx5: E-Switch, move devcom init from TC to eswitch layer
authorShay Drory <shayd@nvidia.com>
Sun, 31 May 2026 11:39:43 +0000 (14:39 +0300)
committerJakub Kicinski <kuba@kernel.org>
Thu, 4 Jun 2026 00:42:19 +0000 (17:42 -0700)
commit2b1ba02c379f136efadcaad92ade8fa5c3068252
tree2b1c41399fc9b7ee6de9d3de4e17d534c14a64a8
parentb48b6308dfaeae49fcda61b4066773cb5e8a9ce8
net/mlx5: E-Switch, move devcom init from TC to eswitch layer

Move the E-swtich devcom component management from TC layer to ESW
layer.

This refactoring places devcom lifecycle management at the appropriate
layer and prepares for SD LAG which needs devcom registration
independent of the TC/representor initialization.

Signed-off-by: Shay Drory <shayd@nvidia.com>
Reviewed-by: Mark Bloch <mbloch@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/20260531113954.395443-4-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c