From ce3a7312357ba636dea4e326e5676615502805c5 Mon Sep 17 00:00:00 2001 From: Anatoly Burakov Date: Sat, 31 Mar 2018 18:06:15 +0100 Subject: [PATCH] eal: rename IPC request as synchronous one Rename rte_mp_request to rte_mp_request_sync to indicate that this request will be done synchronously (as opposed to asynchronous request, which comes in next patch). Also, fix alphabetical ordering for .map file. Suggested-by: Thomas Monjalon Signed-off-by: Anatoly Burakov Acked-by: Jianfeng Tan --- lib/librte_eal/common/eal_common_proc.c | 2 +- lib/librte_eal/common/include/rte_eal.h | 2 +- lib/librte_eal/rte_eal_version.map | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/librte_eal/common/eal_common_proc.c b/lib/librte_eal/common/eal_common_proc.c index 52b6ab23f2..b704f5af8c 100644 --- a/lib/librte_eal/common/eal_common_proc.c +++ b/lib/librte_eal/common/eal_common_proc.c @@ -674,7 +674,7 @@ mp_request_one(const char *dst, struct rte_mp_msg *req, } int __rte_experimental -rte_mp_request(struct rte_mp_msg *req, struct rte_mp_reply *reply, +rte_mp_request_sync(struct rte_mp_msg *req, struct rte_mp_reply *reply, const struct timespec *ts) { int dir_fd, ret = 0; diff --git a/lib/librte_eal/common/include/rte_eal.h b/lib/librte_eal/common/include/rte_eal.h index 044474e6c1..d1cc89eda7 100644 --- a/lib/librte_eal/common/include/rte_eal.h +++ b/lib/librte_eal/common/include/rte_eal.h @@ -314,7 +314,7 @@ rte_mp_sendmsg(struct rte_mp_msg *msg); * - On failure, return -1, and the reason will be stored in rte_errno. */ int __rte_experimental -rte_mp_request(struct rte_mp_msg *req, struct rte_mp_reply *reply, +rte_mp_request_sync(struct rte_mp_msg *req, struct rte_mp_reply *reply, const struct timespec *ts); /** diff --git a/lib/librte_eal/rte_eal_version.map b/lib/librte_eal/rte_eal_version.map index f331f54c9c..1715468273 100644 --- a/lib/librte_eal/rte_eal_version.map +++ b/lib/librte_eal/rte_eal_version.map @@ -224,9 +224,9 @@ EXPERIMENTAL { rte_log_register_type_and_pick_level; rte_mp_action_register; rte_mp_action_unregister; - rte_mp_sendmsg; - rte_mp_request; rte_mp_reply; + rte_mp_request_sync; + rte_mp_sendmsg; rte_service_attr_get; rte_service_attr_reset_all; rte_service_component_register; -- 2.20.1