Searched refs:mlx5_ctx (Results 1 – 3 of 3) sorted by relevance
53 mlx5_context_st *mlx5_ctx; in mlx5_glue_devx_close_device() local60 free(mlx5_ctx); in mlx5_glue_devx_close_device()67 struct mlx5_context *mlx5_ctx; in mlx5_glue_devx_open_device() local74 if (!mlx5_ctx) { in mlx5_glue_devx_open_device()78 memset(mlx5_ctx, 0, sizeof(*mlx5_ctx)); in mlx5_glue_devx_open_device()82 free(mlx5_ctx); in mlx5_glue_devx_open_device()85 return mlx5_ctx; in mlx5_glue_devx_open_device()107 struct mlx5_context *mlx5_ctx; in mlx5_glue_devx_query_hca_iseg_mapping() local289 struct mlx5_context *mlx5_ctx; in mlx5_glue_query_rt_values() local300 mlx5_ctx->devx_ctx, in mlx5_glue_query_rt_values()[all …]
227 struct mlx5_context *mlx5_ctx = NULL; in mlx5_os_open_device() local247 mlx5_ctx = mlx5_glue->open_device(devx_bdf_dev); in mlx5_os_open_device()248 if (mlx5_ctx == NULL) { in mlx5_os_open_device()253 if (mlx5_glue->query_device(devx_bdf_dev, &mlx5_ctx->mlx5_dev)) { in mlx5_os_open_device()259 cdev->ctx = mlx5_ctx; in mlx5_os_open_device()263 if (mlx5_ctx != NULL) in mlx5_os_open_device()264 claim_zero(mlx5_glue->close_device(mlx5_ctx)); in mlx5_os_open_device()
158 struct mlx5_context *mlx5_ctx = sh->cdev->ctx; in mlx5_os_capabilities_prepare() local164 pv_iseg = mlx5_glue->query_hca_iseg(mlx5_ctx, &cb_iseg); in mlx5_os_capabilities_prepare()