net/mlx5: Bridge, pass net device when linking vport to bridge
authorVlad Buslov <vladbu@nvidia.com>
Fri, 26 May 2023 06:55:15 +0000 (08:55 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Fri, 16 Jun 2023 19:02:07 +0000 (12:02 -0700)
commitade19f0d6a3a395e7936227811acbf897ee186fc
tree9b3e4bded8c99d4f6ae7d8e568b173cd40f89c60
parentf405787a0abaf14e332aa6d1d924e75970332e68
net/mlx5: Bridge, pass net device when linking vport to bridge

Following patch requires access to additional data in bridge net_device.
Pass the whole structure down the stack instead of adding necessary fields
as function arguments one-by-one.

Signed-off-by: Vlad Buslov <vladbu@nvidia.com>
Reviewed-by: Gal Pressman <gal@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en/rep/bridge.c
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.h