| 836 | } |
| 837 | |
| 838 | int |
| 839 | rte_mp_sendmsg(struct rte_mp_msg *msg) |
| 840 | { |
| 841 | const struct internal_config *internal_conf = |
| 842 | eal_get_internal_configuration(); |
| 843 | |
| 844 | if (check_input(msg) != 0) |
| 845 | return -1; |
| 846 | |
| 847 | if (internal_conf->no_shconf) { |
| 848 | RTE_LOG(DEBUG, EAL, "No shared files mode enabled, IPC is disabled\n"); |
| 849 | rte_errno = ENOTSUP; |
| 850 | return -1; |
| 851 | } |
| 852 | |
| 853 | RTE_LOG(DEBUG, EAL, "sendmsg: %s\n", msg->name); |
| 854 | return mp_send(msg, NULL, MP_MSG); |
| 855 | } |
| 856 | |
| 857 | static int |
| 858 | mp_request_async(const char *dst, struct rte_mp_msg *req, |
no test coverage detected