common/mlx5: support auxiliary bus
authorXueming Li <xuemingl@nvidia.com>
Wed, 21 Jul 2021 14:37:31 +0000 (22:37 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 21 Jul 2021 22:11:14 +0000 (00:11 +0200)
commit777b72a9339c375b5c70dbe09262ad1fd123f159
tree14a4babb73c4b5482e087a531c1728ba9688f36f
parent67350881e0b3d45352874503e8722038f5de5d31
common/mlx5: support auxiliary bus

Add auxiliary bus support for Sub-Function.

As a limitation of current driver, NUMA node of device is detected
from PCI bus of device sysfs symbol link.
It will be removed once NUMA node file will be available in sysfs.

Signed-off-by: Xueming Li <xuemingl@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
drivers/common/mlx5/linux/meson.build
drivers/common/mlx5/linux/mlx5_common_auxiliary.c [new file with mode: 0644]
drivers/common/mlx5/linux/mlx5_common_verbs.c
drivers/common/mlx5/meson.build
drivers/common/mlx5/mlx5_common.c
drivers/common/mlx5/mlx5_common.h
drivers/common/mlx5/mlx5_common_private.h
drivers/common/mlx5/version.map