]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Expose same physical switch_id for all representors
authorPaul Blakey <paulb@mellanox.com>
Thu, 16 May 2019 12:27:17 +0000 (15:27 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 28 Jun 2019 23:04:00 +0000 (16:04 -0700)
commita93c1b72c98ecb2a2fb72d7cc68d17864aa8a7ca
tree4a062269d0676ff26e393a560a23bc60da87addf
parent72a4287df5e95330ca383a0ea769113cb742666e
net/mlx5e: Expose same physical switch_id for all representors

Report system_image_guid as the E-Switch switch_id, this ensures
that when a NIC contains multiple PCI functions and which
has merged eswitch capability, all representors from
multiple PFs publish same switch_id.

Signed-off-by: Paul Blakey <paulb@mellanox.com>
Reviewed-by: Parav Pandit <parav@mellanox.com>
Reviewed-by: Roi Dayan <roid@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c