eal: rename IPC request as synchronous one
authorAnatoly Burakov <anatoly.burakov@intel.com>
Sat, 31 Mar 2018 17:06:15 +0000 (18:06 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 4 Apr 2018 21:32:21 +0000 (23:32 +0200)
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 <thomas@monjalon.net>
Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
Acked-by: Jianfeng Tan <jianfeng.tan@intel.com>
lib/librte_eal/common/eal_common_proc.c
lib/librte_eal/common/include/rte_eal.h
lib/librte_eal/rte_eal_version.map

index 52b6ab2..b704f5a 100644 (file)
@@ -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;
index 044474e..d1cc89e 100644 (file)
@@ -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);
 
 /**
index f331f54..1715468 100644 (file)
@@ -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;