[dpdk-dev] [PATCH 03/19] common/mlx5: disabling auxiliary bus support

Srikanth Kaka srikanth.k at oneconvergence.com
Mon Sep 27 15:34:34 CEST 2021


Disabling auxiliary bus support in FreeBSD at this moment

Signed-off-by: Srikanth Kaka <srikanth.k at oneconvergence.com>
Signed-off-by: Vag Singh <vag.singh at oneconvergence.com>
Signed-off-by: Anand Thulasiram <avelu at juniper.net>
---
 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



More information about the dev mailing list