Searched refs:cmd_fd (Results 1 – 7 of 7) sorted by relevance
| /dpdk/drivers/net/mlx5/linux/ |
| H A D | mlx5_mp_os.c | 95 mp_res.fds[0] = ((struct ibv_context *)cdev->ctx)->cmd_fd; in mlx5_mp_os_primary_handle() 247 ((struct ibv_context *)priv->sh->cdev->ctx)->cmd_fd; in mp_req_on_rxtx()
|
| /dpdk/drivers/net/mlx4/ |
| H A D | mlx4_mp.c | 85 mp_res.fds[0] = priv->ctx->cmd_fd; in mp_primary_handle() 206 mp_req.fds[0] = priv->ctx->cmd_fd; in mp_req_on_rxtx()
|
| /dpdk/drivers/net/mlx5/ |
| H A D | mlx5_testpmd.c | 189 int cmd_fd; in mlx5_test_extend_devargs() local 262 memcpy(&cmd_fd, CMSG_DATA(cmsg), sizeof(int)); in mlx5_test_extend_devargs() 266 cmd_fd, pd_handle); in mlx5_test_extend_devargs() 272 len += snprintf(NULL, 0, ",cmd_fd=%d,pd_handle=%d", cmd_fd, pd_handle); in mlx5_test_extend_devargs() 274 snprintf(extend, len, ",cmd_fd=%d,pd_handle=%d", cmd_fd, pd_handle); in mlx5_test_extend_devargs()
|
| /dpdk/doc/guides/platform/ |
| H A D | mlx5.rst | 674 - ``cmd_fd`` parameter [int] 677 PMD will use this FD to import remote CTX. The ``cmd_fd`` is obtained from 678 the ``ibv_context->cmd_fd`` member, which must be dup'd before being passed. 693 This parameter is valid only if ``cmd_fd`` parameter is specified, 695 in the context represented by given ``cmd_fd``.
|
| /dpdk/drivers/common/mlx5/linux/ |
| H A D | mlx5_glue.c | 86 mlx5_glue_import_device(int cmd_fd) in mlx5_glue_import_device() argument 89 return ibv_import_device(cmd_fd); in mlx5_glue_import_device() 91 (void)cmd_fd; in mlx5_glue_import_device()
|
| H A D | mlx5_glue.h | 174 struct ibv_context *(*import_device)(int cmd_fd);
|
| /dpdk/drivers/vdpa/mlx5/ |
| H A D | mlx5_vdpa.c | 392 return ((struct ibv_context *)priv->cdev->ctx)->cmd_fd; in mlx5_vdpa_get_device_fd() 755 PROT_WRITE, MAP_SHARED, ctx->cmd_fd, in mlx5_vdpa_create_dev_resources()
|