Home
last modified time | relevance | path

Searched refs:pd_handle (Results 1 – 7 of 7) sorted by relevance

/dpdk/drivers/common/mlx5/linux/
H A Dmlx5_common_os.c423 int pd_handle = config->pd_handle; in mlx5_os_remote_pd_and_ctx_validate() local
426 if (device_fd == MLX5_ARG_UNSET && pd_handle != MLX5_ARG_UNSET) { in mlx5_os_remote_pd_and_ctx_validate()
431 if (device_fd != MLX5_ARG_UNSET && pd_handle == MLX5_ARG_UNSET) { in mlx5_os_remote_pd_and_ctx_validate()
437 "pd_handle=%d).", device_fd, pd_handle); in mlx5_os_remote_pd_and_ctx_validate()
439 if (pd_handle != MLX5_ARG_UNSET || device_fd != MLX5_ARG_UNSET) { in mlx5_os_remote_pd_and_ctx_validate()
461 if (cdev->config.pd_handle == MLX5_ARG_UNSET) in mlx5_os_pd_release()
499 cdev->pd = mlx5_glue->import_pd(cdev->ctx, cdev->config.pd_handle); in mlx5_os_pd_import()
502 cdev->config.pd_handle, rte_strerror(errno)); in mlx5_os_pd_import()
526 if (cdev->config.pd_handle == MLX5_ARG_UNSET) in mlx5_os_pd_prepare()
H A Dmlx5_glue.c38 mlx5_glue_import_pd(struct ibv_context *context, uint32_t pd_handle) in mlx5_glue_import_pd() argument
41 return ibv_import_pd(context, pd_handle); in mlx5_glue_import_pd()
44 (void)pd_handle; in mlx5_glue_import_pd()
H A Dmlx5_glue.h155 uint32_t pd_handle);
/dpdk/drivers/common/mlx5/windows/
H A Dmlx5_common_os.c41 int pd_handle = config->pd_handle; in mlx5_os_remote_pd_and_ctx_validate() local
43 if (pd_handle != MLX5_ARG_UNSET || device_fd != MLX5_ARG_UNSET) { in mlx5_os_remote_pd_and_ctx_validate()
/dpdk/drivers/common/mlx5/
H A Dmlx5_common.h450 int pd_handle; /* Protection Domain handle for importation. */ member
484 cdev->config.pd_handle != MLX5_ARG_UNSET; in mlx5_imported_pd_and_ctx()
H A Dmlx5_common.c295 config->pd_handle = tmp; in mlx5_common_args_check_handler()
335 config->pd_handle = MLX5_ARG_UNSET; in mlx5_common_config_get()
860 if (cdev->config.pd_handle != config->pd_handle) { in mlx5_common_probe_again_args_validate()
/dpdk/doc/guides/platform/
H A Dmlx5.rst648 This parameter is valid only if ``pd_handle`` parameter is specified.
657 - ``pd_handle`` parameter [int]
660 PMD will use this handle to import remote PD. The ``pd_handle`` can be