Home
last modified time | relevance | path

Searched refs:mlx5_ctx (Results 1 – 3 of 3) sorted by relevance

/dpdk/drivers/common/mlx5/windows/
H A Dmlx5_glue.c53 mlx5_context_st *mlx5_ctx; in mlx5_glue_devx_close_device() local
60 free(mlx5_ctx); in mlx5_glue_devx_close_device()
67 struct mlx5_context *mlx5_ctx; in mlx5_glue_devx_open_device() local
74 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() local
289 struct mlx5_context *mlx5_ctx; in mlx5_glue_query_rt_values() local
300 mlx5_ctx->devx_ctx, in mlx5_glue_query_rt_values()
[all …]
H A Dmlx5_common_os.c227 struct mlx5_context *mlx5_ctx = NULL; in mlx5_os_open_device() local
247 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()
/dpdk/drivers/net/mlx5/windows/
H A Dmlx5_os.c158 struct mlx5_context *mlx5_ctx = sh->cdev->ctx; in mlx5_os_capabilities_prepare() local
164 pv_iseg = mlx5_glue->query_hca_iseg(mlx5_ctx, &cb_iseg); in mlx5_os_capabilities_prepare()