Home
last modified time | relevance | path

Searched refs:device_fd (Results 1 – 4 of 4) sorted by relevance

/dpdk/drivers/common/mlx5/linux/
H A Dmlx5_common_os.c422 int device_fd = config->device_fd; 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()
781 MLX5_ASSERT(cdev->config.device_fd == MLX5_ARG_UNSET); in mlx5_open_device()
833 MLX5_ASSERT(cdev->config.device_fd != MLX5_ARG_UNSET); in mlx5_import_device()
834 ctx = mlx5_glue->import_device(cdev->config.device_fd); in mlx5_import_device()
837 cdev->config.device_fd, rte_strerror(errno)); in mlx5_import_device()
860 if (cdev->config.device_fd == MLX5_ARG_UNSET) in mlx5_os_open_device()
/dpdk/drivers/common/mlx5/windows/
H A Dmlx5_common_os.c40 int device_fd = config->device_fd; 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.c293 config->device_fd = tmp; in mlx5_common_args_check_handler()
334 config->device_fd = MLX5_ARG_UNSET; in mlx5_common_config_get()
700 if (cdev->config.devx || cdev->config.device_fd != MLX5_ARG_UNSET) { in mlx5_dev_hw_global_prepare()
854 if (cdev->config.device_fd != config->device_fd) { in mlx5_common_probe_again_args_validate()
H A Dmlx5_common.h449 int device_fd; /* Device file descriptor for importation. */ member
483 return cdev->config.device_fd != MLX5_ARG_UNSET && in mlx5_imported_pd_and_ctx()