summaryrefslogtreecommitdiff
path: root/include/linux/mlx5/driver.h
diff options
context:
space:
mode:
authorJiri Pirko <jiri@nvidia.com>2023-01-17 16:44:54 +0300
committerSaeed Mahameed <saeedm@nvidia.com>2023-02-15 01:08:26 +0300
commitc30f3faa2a81bc6d7d05967eb07bbe3bd5b359e6 (patch)
tree181b689bbc37c9361ccbb3e7a0d2636f6b3c68d5 /include/linux/mlx5/driver.h
parentbc1536f369f043fa362a25d51f84bf59f2f48489 (diff)
downloadlinux-c30f3faa2a81bc6d7d05967eb07bbe3bd5b359e6.tar.xz
net/mlx5e: Move dl_port to struct mlx5e_dev
No need to have dl_port which is tightly coupled with mlx5e code in mlx5 core code. Move it to struct mlx5e_dev and loose mlx5e_devlink_get_dl_port() helper. Signed-off-by: Jiri Pirko <jiri@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'include/linux/mlx5/driver.h')
-rw-r--r--include/linux/mlx5/driver.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/mlx5/driver.h b/include/linux/mlx5/driver.h
index c9259350cdfc..a170c8565779 100644
--- a/include/linux/mlx5/driver.h
+++ b/include/linux/mlx5/driver.h
@@ -679,7 +679,6 @@ struct mlx5e_resources {
u32 mkey;
struct mlx5_sq_bfreg bfreg;
} hw_objs;
- struct devlink_port dl_port;
struct net_device *uplink_netdev;
struct mutex uplink_netdev_lock;
struct mlx5_crypto_dek_priv *dek_priv;