[dpdk-dev] [PATCH] net/mlx4: fix compilation issues in glue mode
Adrien Mazarguil
adrien.mazarguil at 6wind.com
Wed May 2 17:28:35 CEST 2018
Since the commit referenced below, compiling mlx4 along with its glue
library (CONFIG_RTE_LIBRTE_MLX4_DLOPEN_DEPS=y) triggers a compilation
failure due to undefined symbols.
They are caused by Verbs calls made directly from the PMD instead of going
through the glue library.
Fixes: ffc7411cabfe ("net/mlx4: fix inner RSS support for broken kernels")
Signed-off-by: Adrien Mazarguil <adrien.mazarguil at 6wind.com>
---
drivers/net/mlx4/mlx4.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/net/mlx4/mlx4.c b/drivers/net/mlx4/mlx4.c
index c1cc95786..47451b651 100644
--- a/drivers/net/mlx4/mlx4.c
+++ b/drivers/net/mlx4/mlx4.c
@@ -469,14 +469,14 @@ mlx4_hw_rss_sup(struct ibv_context *ctx, struct ibv_pd *pd,
" quirk");
hw_rss_sup &= ~IBV_RX_HASH_INNER;
} else {
- claim_zero(ibv_destroy_qp(qp));
+ claim_zero(mlx4_glue->destroy_qp(qp));
}
if (ind)
- claim_zero(ibv_destroy_rwq_ind_table(ind));
+ claim_zero(mlx4_glue->destroy_rwq_ind_table(ind));
if (wq)
- claim_zero(ibv_destroy_wq(wq));
+ claim_zero(mlx4_glue->destroy_wq(wq));
if (cq)
- claim_zero(ibv_destroy_cq(cq));
+ claim_zero(mlx4_glue->destroy_cq(cq));
return hw_rss_sup;
}
--
2.11.0
More information about the dev
mailing list