diff options
| author | Jiri Pirko <[email protected]> | 2023-01-17 14:44:54 +0100 |
|---|---|---|
| committer | Saeed Mahameed <[email protected]> | 2023-02-14 14:08:26 -0800 |
| commit | c30f3faa2a81bc6d7d05967eb07bbe3bd5b359e6 (patch) | |
| tree | 181b689bbc37c9361ccbb3e7a0d2636f6b3c68d5 /include/linux | |
| parent | bc1536f369f043fa362a25d51f84bf59f2f48489 (diff) | |
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 <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/mlx5/driver.h | 1 |
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; |