[03/19] common/mlx5: disabling auxiliary bus support
Checks
Commit Message
Disabling auxiliary bus support in FreeBSD at this moment
Signed-off-by: Srikanth Kaka <srikanth.k@oneconvergence.com>
Signed-off-by: Vag Singh <vag.singh@oneconvergence.com>
Signed-off-by: Anand Thulasiram <avelu@juniper.net>
---
drivers/common/mlx5/freebsd/mlx5_common_verbs.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
@@ -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);