Lines Matching refs:mp_req
366 struct rte_mp_msg mp_req; in eal_dev_hotplug_request_to_primary() local
372 memset(&mp_req, 0, sizeof(mp_req)); in eal_dev_hotplug_request_to_primary()
373 memcpy(mp_req.param, req, sizeof(*req)); in eal_dev_hotplug_request_to_primary()
374 mp_req.len_param = sizeof(*req); in eal_dev_hotplug_request_to_primary()
375 strlcpy(mp_req.name, EAL_DEV_MP_ACTION_REQUEST, sizeof(mp_req.name)); in eal_dev_hotplug_request_to_primary()
377 ret = rte_mp_request_sync(&mp_req, &mp_reply, &ts); in eal_dev_hotplug_request_to_primary()
394 struct rte_mp_msg mp_req; in eal_dev_hotplug_request_to_secondary() local
400 memset(&mp_req, 0, sizeof(mp_req)); in eal_dev_hotplug_request_to_secondary()
401 memcpy(mp_req.param, req, sizeof(*req)); in eal_dev_hotplug_request_to_secondary()
402 mp_req.len_param = sizeof(*req); in eal_dev_hotplug_request_to_secondary()
403 strlcpy(mp_req.name, EAL_DEV_MP_ACTION_REQUEST, sizeof(mp_req.name)); in eal_dev_hotplug_request_to_secondary()
405 ret = rte_mp_request_sync(&mp_req, &mp_reply, &ts); in eal_dev_hotplug_request_to_secondary()