summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/mellanox/mlx5/core/en_rep.c
diff options
context:
space:
mode:
authorShay Drory <shayd@nvidia.com>2023-02-02 10:27:45 +0200
committerSaeed Mahameed <saeedm@nvidia.com>2023-06-02 12:10:48 -0700
commit8611df722030171e31535da569d3da488d2cd3b6 (patch)
tree3d54f78c3303494016769f9d109d3f9071b2bde5 /drivers/net/ethernet/mellanox/mlx5/core/en_rep.c
parente67f928a5204cc577ad35dc8c3ebe60ef64bade8 (diff)
net/mlx5: E-switch, mark devcom as not ready when all eswitches are unpaired
Whenever an eswitch is unpaired with another, the driver mark devcom as not ready. While this is correct in case we are pairing only two eswitches, in order to support pairing of more than two eswitches, driver need to mark devcom as not ready only when all eswitches are unpaired. Signed-off-by: Shay Drory <shayd@nvidia.com> Reviewed-by: Mark Bloch <mbloch@nvidia.com> Reviewed-by: Roi Dayan <roid@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/en_rep.c')
0 files changed, 0 insertions, 0 deletions