net/mlx5e: Move params kernel log print to probe function
authorTariq Toukan <tariqt@nvidia.com>
Wed, 18 May 2022 08:46:35 +0000 (11:46 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Sat, 12 Nov 2022 10:20:19 +0000 (02:20 -0800)
commit38438d39a9a001df8926f1b2b3087764dbbdc1aa
tree2986af19cba139016c4fbe4b6934514297402607
parent2c925db0a7d69b404d6bfe4c037935c2d367913d
net/mlx5e: Move params kernel log print to probe function

Params info print was meant to be printed on load.
With time, new calls to mlx5e_init_rq_type_params and
mlx5e_build_rq_params were added, mistakenly printing
the params once again.

Move the print to were it belongs, in mlx5e_probe.

Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Gal Pressman <gal@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en/params.c
drivers/net/ethernet/mellanox/mlx5/core/en/params.h
drivers/net/ethernet/mellanox/mlx5/core/en_main.c