net/mlx5: Enable devlink port for embedded cpu VF vports
authorDaniel Jurgens <danielj@nvidia.com>
Tue, 7 Mar 2023 17:36:14 +0000 (19:36 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Sat, 10 Jun 2023 01:40:51 +0000 (18:40 -0700)
commitdc13180824b78e1e4e7ae1ce22160ae8e5fb858e
treef97b403ba6d6cf12d0118c641e766f95e66bb36d
parent93b36d0f2892357906f1058778c9188ff857baa1
net/mlx5: Enable devlink port for embedded cpu VF vports

Enable creation of a devlink port for EC VF vports.

Signed-off-by: Daniel Jurgens <danielj@nvidia.com>
Reviewed-by: William Tu <witu@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/esw/devlink_port.c
drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h
include/linux/mlx5/driver.h