common/mlx5: move description of PCI sysfs functions
authorThomas Monjalon <thomas@monjalon.net>
Wed, 21 Jul 2021 14:37:30 +0000 (22:37 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 21 Jul 2021 22:11:14 +0000 (00:11 +0200)
commit67350881e0b3d45352874503e8722038f5de5d31
treeef0a254cde8d8c290597f06cc4ffa86e055a6a9f
parentad435d3204736e8110cd3ecdf5363ae20f68e66f
common/mlx5: move description of PCI sysfs functions

The Linux-specific functions mlx5_get_pci_addr() and
mlx5_get_ifname_sysfs() are better described in the .h file.

The requirement for using mlx5_get_pci_addr() is made explicit:
the node /device must exist in the provided sysfs path.

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
drivers/common/mlx5/linux/mlx5_common_os.c
drivers/common/mlx5/mlx5_common.h