]> git.droids-corp.org - dpdk.git/commit
common/mlx5: support PCIe device GUID query
authorRongwei Liu <rongweil@nvidia.com>
Tue, 26 Oct 2021 08:48:29 +0000 (11:48 +0300)
committerRaslan Darawsheh <rasland@nvidia.com>
Tue, 26 Oct 2021 09:26:14 +0000 (11:26 +0200)
commit4c74ad3e16d41c0b61e3b4217f2ffc9a70a1d0d1
tree7f59024f2948595a3516403e7af97ee6ab977283
parent627b3c5a39eb5c5461bdf0f0013817c34be98944
common/mlx5: support PCIe device GUID query

sysfs entry "phys_switch_id" holds each PCIe device'
guid.

The devices which reside in the same physical NIC should
have the same guid.

Signed-off-by: Rongwei Liu <rongweil@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
drivers/common/mlx5/linux/mlx5_common_os.c
drivers/common/mlx5/linux/mlx5_common_os.h