]> git.itanic.dy.fi Git - linux-stable/commit
net/mlx5: Move esw multiport devlink param to eswitch code
authorShay Drory <shayd@nvidia.com>
Wed, 17 May 2023 14:39:54 +0000 (17:39 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Sat, 10 Jun 2023 01:40:53 +0000 (18:40 -0700)
commit3f90840305e2b240749aec7dde23f5262e513641
tree2cd0539ee6a5722bb545273870f0cc6225b3249c
parent2059cf51f318681a4cdd3eb1a01a2d62b6a9c442
net/mlx5: Move esw multiport devlink param to eswitch code

Move the param registration and handling code into the eswitch
code as they are related to each other. No point in having the
devlink param registration done in separate file.

Signed-off-by: Shay Drory <shayd@nvidia.com>
Reviewed-by: Moshe Shemesh <moshe@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/devlink.c
drivers/net/ethernet/mellanox/mlx5/core/eswitch.c