net/mlx5: Enable management PF initialization
authorShay Drory <shayd@nvidia.com>
Wed, 29 Jun 2022 08:38:21 +0000 (11:38 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Wed, 11 Jan 2023 05:24:41 +0000 (21:24 -0800)
commitfe998a3c77b9f989a30a2a01fb00d3729a6d53a4
tree3c219e56720370e38b36443b46cad604ae9d96a7
parent0e414518d6d881075f0c944b365078b8049fcc2f
net/mlx5: Enable management PF initialization

Enable initialization of DPU Management PF, which is a new loopback PF
designed for communication with BMC.
For now Management PF doesn't support nor require most upper layer
protocols so avoid them.

Signed-off-by: Shay Drory <shayd@nvidia.com>
Reviewed-by: Eran Ben Elisha <eranbe@nvidia.com>
Reviewed-by: Moshe Shemesh <moshe@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/dev.c
drivers/net/ethernet/mellanox/mlx5/core/ecpf.c
drivers/net/ethernet/mellanox/mlx5/core/eswitch.c
include/linux/mlx5/driver.h