net/mlx5: Fix query_nic_sys_image_guid() error during init
authorAviv Heller <avivh@mellanox.com>
Wed, 19 Dec 2018 23:37:17 +0000 (01:37 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 20 Dec 2018 13:06:03 +0000 (05:06 -0800)
commit0a5b589111c395f2b18c2a508e241207daaa8cca
tree8d24d9a662ef568259528b37b75792db168578db
parente32ee6c78efa6a32bff782bbe7a9970b018996ca
net/mlx5: Fix query_nic_sys_image_guid() error during init

vport system image guid should be queried using vport nic API for
Ethernet ports, and vport hca API for Infiniband ports.

Fixes: fadd59fc50d0 ("net/mlx5: Introduce inter-device communication mechanism")
Signed-off-by: Aviv Heller <avivh@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/vport.c