| 62 | } |
| 63 | |
| 64 | static void |
| 65 | mp_init_msg(struct rte_mp_msg *msg, enum mana_mp_req_type type, int port_id) |
| 66 | { |
| 67 | struct mana_mp_param *param; |
| 68 | |
| 69 | strlcpy(msg->name, MANA_MP_NAME, sizeof(msg->name)); |
| 70 | msg->len_param = sizeof(*param); |
| 71 | |
| 72 | param = (struct mana_mp_param *)msg->param; |
| 73 | param->type = type; |
| 74 | param->port_id = port_id; |
| 75 | } |
| 76 | |
| 77 | static int |
| 78 | mana_mp_primary_handle(const struct rte_mp_msg *mp_msg, const void *peer) |
no test coverage detected