[dpdk-dev] [PATCH 03/19] common/mlx5: disabling auxiliary bus support
From: Srikanth Kaka <hidden>
Date: 2021-09-27 14:58:31
Subsystem:
the rest · Maintainer:
Linus Torvalds
From: Srikanth Kaka <hidden>
Date: 2021-09-27 14:58:31
Subsystem:
the rest · Maintainer:
Linus Torvalds
Disabling auxiliary bus support in FreeBSD at this moment Signed-off-by: Srikanth Kaka <redacted> Signed-off-by: Vag Singh <redacted> Signed-off-by: Anand Thulasiram <redacted> --- drivers/common/mlx5/freebsd/mlx5_common_verbs.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/drivers/common/mlx5/freebsd/mlx5_common_verbs.c b/drivers/common/mlx5/freebsd/mlx5_common_verbs.c
index 9080bd3e87..6a6ab7a7a2 100644
--- a/drivers/common/mlx5/freebsd/mlx5_common_verbs.c
+++ b/drivers/common/mlx5/freebsd/mlx5_common_verbs.c@@ -12,7 +12,6 @@ #include <rte_errno.h> #include <rte_bus_pci.h> -#include <rte_bus_auxiliary.h> #include "mlx5_common_utils.h" #include "mlx5_common_log.h"
@@ -25,12 +24,10 @@ struct ibv_device * mlx5_os_get_ibv_dev(const struct rte_device *dev) { - struct ibv_device *ibv; + struct ibv_device *ibv = NULL; if (mlx5_dev_is_pci(dev)) ibv = mlx5_os_get_ibv_device(&RTE_DEV_TO_PCI_CONST(dev)->addr); - else - ibv = mlx5_get_aux_ibv_device(RTE_DEV_TO_AUXILIARY_CONST(dev)); if (ibv == NULL) { rte_errno = ENODEV; DRV_LOG(ERR, "Verbs device not found: %s", dev->name);
--
2.30.2