]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/mlx4/mlx4_ethdev.c
net/mlx4: move rdma-core calls to separate file
[dpdk.git] / drivers / net / mlx4 / mlx4_ethdev.c
index ca5fadc722960376813981c08d298e7ef2891cf9..d1d940dc75b63b6d755e676f9067ae39dcad00a0 100644 (file)
@@ -70,6 +70,7 @@
 
 #include "mlx4.h"
 #include "mlx4_flow.h"
+#include "mlx4_glue.h"
 #include "mlx4_rxtx.h"
 #include "mlx4_utils.h"
 
@@ -1068,7 +1069,7 @@ mlx4_is_removed(struct rte_eth_dev *dev)
        struct ibv_device_attr device_attr;
        struct priv *priv = dev->data->dev_private;
 
-       if (ibv_query_device(priv->ctx, &device_attr) == EIO)
+       if (mlx4_glue->query_device(priv->ctx, &device_attr) == EIO)
                return 1;
        return 0;
 }