Lines Matching refs:mp_req
367 struct rte_mp_msg mp_req; in eal_dev_hotplug_request_to_primary() local
373 memset(&mp_req, 0, sizeof(mp_req)); in eal_dev_hotplug_request_to_primary()
374 memcpy(mp_req.param, req, sizeof(*req)); in eal_dev_hotplug_request_to_primary()
375 mp_req.len_param = sizeof(*req); in eal_dev_hotplug_request_to_primary()
376 strlcpy(mp_req.name, EAL_DEV_MP_ACTION_REQUEST, sizeof(mp_req.name)); in eal_dev_hotplug_request_to_primary()
378 ret = rte_mp_request_sync(&mp_req, &mp_reply, &ts); in eal_dev_hotplug_request_to_primary()
395 struct rte_mp_msg mp_req; in eal_dev_hotplug_request_to_secondary() local
401 memset(&mp_req, 0, sizeof(mp_req)); in eal_dev_hotplug_request_to_secondary()
402 memcpy(mp_req.param, req, sizeof(*req)); in eal_dev_hotplug_request_to_secondary()
403 mp_req.len_param = sizeof(*req); in eal_dev_hotplug_request_to_secondary()
404 strlcpy(mp_req.name, EAL_DEV_MP_ACTION_REQUEST, sizeof(mp_req.name)); in eal_dev_hotplug_request_to_secondary()
406 ret = rte_mp_request_sync(&mp_req, &mp_reply, &ts); in eal_dev_hotplug_request_to_secondary()