MCPcopy Create free account
hub / github.com/F-Stack/f-stack / rte_mp_sendmsg

Function rte_mp_sendmsg

dpdk/lib/eal/common/eal_common_proc.c:838–855  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

836}
837
838int
839rte_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
857static int
858mp_request_async(const char *dst, struct rte_mp_msg *req,

Callers 4

handle_requestFunction · 0.70
handle_sync_responseFunction · 0.70
handle_rollback_responseFunction · 0.70
request_to_primaryFunction · 0.70

Calls 3

mp_sendFunction · 0.85
check_inputFunction · 0.70

Tested by

no test coverage detected