net/mlx5: DR, Fix querying eswitch manager vport for ECPF
authorYevgeny Kliteynik <kliteyn@nvidia.com>
Sun, 12 Dec 2021 14:19:58 +0000 (16:19 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Thu, 23 Dec 2021 04:38:46 +0000 (20:38 -0800)
commit624bf42c2e3930acca9fcfc340b2fa38e712da84
treec8dd683768d25f7bc5df9dee63fe97ab658c12d3
parent6b8b42585886c59a008015083282aae434349094
net/mlx5: DR, Fix querying eswitch manager vport for ECPF

On BlueField the E-Switch manager is the ECPF (vport 0xFFFE), but when
querying capabilities of ECPF eswitch manager, need to query vport 0
with other_vport = 0.

Fixes: 9091b821aaa4 ("net/mlx5: DR, Handle eswitch manager and uplink vports separately")
Signed-off-by: Yevgeny Kliteynik <kliteyn@nvidia.com>
Reviewed-by: Alex Vesker <valex@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_domain.c