| /dpdk/drivers/common/mlx5/ |
| H A D | mlx5_common_mp.c | 30 struct rte_mp_msg mp_req; in mlx5_mp_req_mr_create() local 33 struct mlx5_mp_param *req = (struct mlx5_mp_param *)mp_req.param; in mlx5_mp_req_mr_create() 40 mp_init_port_agnostic_msg(&mp_req, MLX5_MP_REQ_CREATE_MR); in mlx5_mp_req_mr_create() 43 ret = rte_mp_request_sync(&mp_req, &mp_rep, &ts); in mlx5_mp_req_mr_create() 71 struct rte_mp_msg mp_req; in mlx5_mp_req_mempool_reg() local 74 struct mlx5_mp_param *req = (struct mlx5_mp_param *)mp_req.param; in mlx5_mp_req_mempool_reg() 84 mp_init_port_agnostic_msg(&mp_req, type); in mlx5_mp_req_mempool_reg() 88 ret = rte_mp_request_sync(&mp_req, &mp_rep, &ts); in mlx5_mp_req_mempool_reg() 120 struct rte_mp_msg mp_req; in mlx5_mp_req_queue_state_modify() local 123 struct mlx5_mp_param *req = (struct mlx5_mp_param *)mp_req.param; in mlx5_mp_req_queue_state_modify() [all …]
|
| /dpdk/lib/eal/common/ |
| H A D | hotplug_mp.c | 368 struct rte_mp_msg mp_req; in eal_dev_hotplug_request_to_primary() local 374 memset(&mp_req, 0, sizeof(mp_req)); in eal_dev_hotplug_request_to_primary() 375 memcpy(mp_req.param, req, sizeof(*req)); in eal_dev_hotplug_request_to_primary() 376 mp_req.len_param = sizeof(*req); in eal_dev_hotplug_request_to_primary() 377 strlcpy(mp_req.name, EAL_DEV_MP_ACTION_REQUEST, sizeof(mp_req.name)); in eal_dev_hotplug_request_to_primary() 379 ret = rte_mp_request_sync(&mp_req, &mp_reply, &ts); in eal_dev_hotplug_request_to_primary() 396 struct rte_mp_msg mp_req; in eal_dev_hotplug_request_to_secondary() local 402 memset(&mp_req, 0, sizeof(mp_req)); in eal_dev_hotplug_request_to_secondary() 403 memcpy(mp_req.param, req, sizeof(*req)); in eal_dev_hotplug_request_to_secondary() 404 mp_req.len_param = sizeof(*req); in eal_dev_hotplug_request_to_secondary() [all …]
|
| /dpdk/drivers/net/mlx4/ |
| H A D | mlx4_mp.c | 185 struct rte_mp_msg mp_req; in mp_req_on_rxtx() local 202 mp_init_msg(dev, &mp_req, type); in mp_req_on_rxtx() 205 mp_req.num_fds = 1; in mp_req_on_rxtx() 206 mp_req.fds[0] = priv->ctx->cmd_fd; in mp_req_on_rxtx() 208 ret = rte_mp_request_sync(&mp_req, &mp_rep, &ts); in mp_req_on_rxtx() 273 struct rte_mp_msg mp_req; in mlx4_mp_req_mr_create() local 276 struct mlx4_mp_param *req = (struct mlx4_mp_param *)mp_req.param; in mlx4_mp_req_mr_create() 282 mp_init_msg(dev, &mp_req, MLX4_MP_REQ_CREATE_MR); in mlx4_mp_req_mr_create() 284 ret = rte_mp_request_sync(&mp_req, &mp_rep, &ts); in mlx4_mp_req_mr_create() 312 struct rte_mp_msg mp_req; in mlx4_mp_req_verbs_cmd_fd() local [all …]
|
| /dpdk/drivers/net/mlx5/linux/ |
| H A D | mlx5_mp_os.c | 226 struct rte_mp_msg mp_req; in mp_req_on_rxtx() local 243 mp_init_msg(&priv->mp_id, &mp_req, type); in mp_req_on_rxtx() 245 mp_req.num_fds = 1; in mp_req_on_rxtx() 246 mp_req.fds[0] = in mp_req_on_rxtx() 249 ret = rte_mp_request_sync(&mp_req, &mp_rep, &ts); in mp_req_on_rxtx() 322 struct rte_mp_msg mp_req; in mlx5_mp_os_req_queue_control() local 325 struct mlx5_mp_param *req = (struct mlx5_mp_param *)mp_req.param; in mlx5_mp_os_req_queue_control() 333 mp_init_msg(&priv->mp_id, &mp_req, req_type); in mlx5_mp_os_req_queue_control() 335 ret = rte_mp_request_sync(&mp_req, &mp_rep, &ts); in mlx5_mp_os_req_queue_control()
|
| /dpdk/lib/eal/linux/ |
| H A D | eal_vfio.c | 354 struct rte_mp_msg mp_req, *mp_rep; in vfio_open_group_fd() local 357 struct vfio_mp_param *p = (struct vfio_mp_param *)mp_req.param; in vfio_open_group_fd() 399 strcpy(mp_req.name, EAL_VFIO_MP); in vfio_open_group_fd() 400 mp_req.len_param = sizeof(*p); in vfio_open_group_fd() 401 mp_req.num_fds = 0; in vfio_open_group_fd() 404 if (rte_mp_request_sync(&mp_req, &mp_reply, &ts) == 0 && in vfio_open_group_fd() 659 struct rte_mp_msg mp_req, *mp_rep; in vfio_sync_default_container() local 662 struct vfio_mp_param *p = (struct vfio_mp_param *)mp_req.param; in vfio_sync_default_container() 679 strcpy(mp_req.name, EAL_VFIO_MP); in vfio_sync_default_container() 680 mp_req in vfio_sync_default_container() 1153 struct rte_mp_msg mp_req, *mp_rep; vfio_get_default_container_fd() local 1288 struct rte_mp_msg mp_req, *mp_rep; rte_vfio_get_container_fd() local [all...] |
| /dpdk/drivers/net/hns3/ |
| H A D | hns3_mp.c | 145 struct rte_mp_msg mp_req; in mp_req_on_rxtx() local 162 mp_init_msg(dev, &mp_req, type); in mp_req_on_rxtx() 165 ret = rte_mp_request_sync(&mp_req, &mp_rep, &ts); in mp_req_on_rxtx()
|
| /dpdk/lib/pdump/ |
| H A D | rte_pdump.c | 531 struct rte_mp_msg mp_req, *mp_rep; in pdump_prepare_client_request() local 534 struct pdump_request *req = (struct pdump_request *)mp_req.param; in pdump_prepare_client_request() 558 rte_strscpy(mp_req.name, PDUMP_MP, RTE_MP_MAX_NAME_LEN); in pdump_prepare_client_request() 559 mp_req.len_param = sizeof(*req); in pdump_prepare_client_request() 560 mp_req.num_fds = 0; in pdump_prepare_client_request() 561 if (rte_mp_request_sync(&mp_req, &mp_reply, &ts) == 0) { in pdump_prepare_client_request()
|