#include <rte_errno.h>
#include "mlx5_common_mp.h"
-#include "mlx5_common_utils.h"
+#include "mlx5_common_log.h"
+#include "mlx5_malloc.h"
/**
* Request Memory Region creation to the primary process.
ret = res->result;
if (ret)
rte_errno = -ret;
- free(mp_rep.msgs);
+ mlx5_free(mp_rep.msgs);
return ret;
}
mp_res = &mp_rep.msgs[0];
res = (struct mlx5_mp_param *)mp_res->param;
ret = res->result;
- free(mp_rep.msgs);
+ mlx5_free(mp_rep.msgs);
return ret;
}
DRV_LOG(DEBUG, "port %u command FD from primary is %d",
mp_id->port_id, ret);
exit:
- free(mp_rep.msgs);
+ mlx5_free(mp_rep.msgs);
return ret;
}