]> git.droids-corp.org - dpdk.git/blobdiff - drivers/regex/mlx5/mlx5_regex_fastpath.c
common/mlx5: share MR mempool registration
[dpdk.git] / drivers / regex / mlx5 / mlx5_regex_fastpath.c
index 8817e2e074df847b49d423cfd98a0d10dba359ad..adb5343a46bb161c734069e2406312206a36c980 100644 (file)
@@ -126,7 +126,7 @@ static inline uint32_t
 mlx5_regex_mb2mr(struct mlx5_regex_priv *priv, struct mlx5_mr_ctrl *mr_ctrl,
                 struct rte_mbuf *mbuf)
 {
-       return mlx5_mr_mb2mr(priv->cdev, 0, mr_ctrl, mbuf, &priv->mr_scache);
+       return mlx5_mr_mb2mr(priv->cdev, 0, mr_ctrl, mbuf);
 }
 
 static inline void