aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx5/core/en.h
diff options
context:
space:
mode:
authorRoi Dayan <roid@nvidia.com>2020-10-28 11:21:26 +0200
committerSaeed Mahameed <saeedm@nvidia.com>2021-03-16 16:48:41 -0700
commitc27971d08abecc91f06214dacc66ce3ce2662a44 (patch)
treecbe3533b393b926c4a5fd04e78b010cdbf02a0be /drivers/net/ethernet/mellanox/mlx5/core/en.h
parentnet/mlx5: Move mlx5e hw resources into a sub object (diff)
downloadlinux-dev-c27971d08abecc91f06214dacc66ce3ce2662a44.tar.xz
linux-dev-c27971d08abecc91f06214dacc66ce3ce2662a44.zip
net/mlx5: Move devlink port from mlx5e priv to mlx5e resources
We re-use the native NIC port net device instance for the Uplink representor, and the devlink port. When changing profiles we reset the mlx5e priv but we should still use the devlink port so move it to mlx5e resources. Signed-off-by: Roi Dayan <roid@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/en.h')
-rw-r--r--drivers/net/ethernet/mellanox/mlx5/core/en.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en.h b/drivers/net/ethernet/mellanox/mlx5/core/en.h
index 7435fe6829b6..4d621d142f76 100644
--- a/drivers/net/ethernet/mellanox/mlx5/core/en.h
+++ b/drivers/net/ethernet/mellanox/mlx5/core/en.h
@@ -880,7 +880,6 @@ struct mlx5e_priv {
#endif
struct devlink_health_reporter *tx_reporter;
struct devlink_health_reporter *rx_reporter;
- struct devlink_port dl_port;
struct mlx5e_xsk xsk;
#if IS_ENABLED(CONFIG_PCI_HYPERV_INTERFACE)
struct mlx5e_hv_vhca_stats_agent stats_agent;