1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright (c) 2020 Dmitry Kozlyuk
6 * @file Multiprocess support stubs
8 * Stubs must log an error until implemented. If success is required
9 * for non-multiprocess operation, stub must log a warning and a comment
10 * must document what requires success emulation.
14 #include <rte_errno.h>
16 #include "eal_private.h"
17 #include "eal_windows.h"
18 #include "malloc_mp.h"
21 rte_mp_channel_cleanup(void)
23 EAL_LOG_NOT_IMPLEMENTED();
27 rte_mp_action_register(const char *name, rte_mp_t action)
31 EAL_LOG_NOT_IMPLEMENTED();
36 rte_mp_action_unregister(const char *name)
39 EAL_LOG_NOT_IMPLEMENTED();
43 rte_mp_sendmsg(struct rte_mp_msg *msg)
46 EAL_LOG_NOT_IMPLEMENTED();
51 rte_mp_request_sync(struct rte_mp_msg *req, struct rte_mp_reply *reply,
52 const struct timespec *ts)
57 EAL_LOG_NOT_IMPLEMENTED();
62 rte_mp_request_async(struct rte_mp_msg *req, const struct timespec *ts,
63 rte_mp_async_reply_t clb)
68 EAL_LOG_NOT_IMPLEMENTED();
73 rte_mp_reply(struct rte_mp_msg *msg, const char *peer)
77 EAL_LOG_NOT_IMPLEMENTED();
82 register_mp_requests(void)
84 /* Non-stub function succeeds if multi-process is not supported. */
90 request_to_primary(struct malloc_mp_req *req)
93 EAL_LOG_NOT_IMPLEMENTED();
100 /* Common memory allocator depends on this function success. */