Searched refs:device_fd (Results 1 – 4 of 4) sorted by relevance
422 int device_fd = config->device_fd; in mlx5_os_remote_pd_and_ctx_validate() local426 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()
40 int device_fd = config->device_fd; in mlx5_os_remote_pd_and_ctx_validate() local43 if (pd_handle != MLX5_ARG_UNSET || device_fd != MLX5_ARG_UNSET) { in mlx5_os_remote_pd_and_ctx_validate()
293 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()
449 int device_fd; /* Device file descriptor for importation. */ member483 return cdev->config.device_fd != MLX5_ARG_UNSET && in mlx5_imported_pd_and_ctx()