net/mlx5: E-Switch, expose eswitch manager vport
authorMark Bloch <mbloch@nvidia.com>
Wed, 6 Dec 2023 14:01:37 +0000 (16:01 +0200)
committerLeon Romanovsky <leon@kernel.org>
Tue, 12 Dec 2023 07:04:04 +0000 (09:04 +0200)
commiteb524d0fd46249b0b9e5d52372dc65d8b32430c3
tree9066b7194e26948c3b7a0f78d60674112349daa5
parentabf8e8f29a3cb6d9c0f599d335f9ad3dcf2dcf11
net/mlx5: E-Switch, expose eswitch manager vport

Expose the ability the query the eswitch manager vport number.
Next patch will utilize this capability to reveal the correct
register C0 value to the users.

Signed-off-by: Mark Bloch <mbloch@nvidia.com>
Link: https://lore.kernel.org/r/614fb0e216250e2ce3340471ec141b83ec45c7f4.1701871118.git.leon@kernel.org
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/eswitch.h
include/linux/mlx5/eswitch.h