From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 5068B5F25 for ; Mon, 2 Apr 2018 07:09:07 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 01 Apr 2018 22:09:06 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,394,1517904000"; d="scan'208";a="38660365" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by FMSMGA003.fm.intel.com with ESMTP; 01 Apr 2018 22:09:05 -0700 Received: from fmsmsx123.amr.corp.intel.com (10.18.125.38) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.319.2; Sun, 1 Apr 2018 22:09:05 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by fmsmsx123.amr.corp.intel.com (10.18.125.38) with Microsoft SMTP Server (TLS) id 14.3.319.2; Sun, 1 Apr 2018 22:09:05 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.235]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.226]) with mapi id 14.03.0319.002; Mon, 2 Apr 2018 13:09:03 +0800 From: "Tan, Jianfeng" To: "Burakov, Anatoly" , "dev@dpdk.org" CC: "Ananyev, Konstantin" , "thomas@monjalon.net" Thread-Topic: [PATCH v7 2/3] eal: rename mp_request to mp_request_sync Thread-Index: AQHTyRKYWCiJpWV40kqn0+J87SlDUaPs7sug Date: Mon, 2 Apr 2018 05:09:03 +0000 Message-ID: References: <4c704d02202e42be6b1d5a016a3cc35a5dcd11c4.1522502560.git.anatoly.burakov@intel.com> In-Reply-To: <4c704d02202e42be6b1d5a016a3cc35a5dcd11c4.1522502560.git.anatoly.burakov@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v7 2/3] eal: rename mp_request to mp_request_sync X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Apr 2018 05:09:07 -0000 > -----Original Message----- > From: Burakov, Anatoly > Sent: Sunday, April 1, 2018 1:06 AM > To: dev@dpdk.org > Cc: Tan, Jianfeng; Ananyev, Konstantin; thomas@monjalon.net > Subject: [PATCH v7 2/3] eal: rename mp_request to mp_request_sync >=20 > 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). >=20 > Also, fix alphabetical ordering for .map file. >=20 > Signed-off-by: Anatoly Burakov > Suggested-by: Thomas Monjalon Acked-by: Jianfeng Tan Thanks! > --- >=20 > Notes: > v7: > - Added this patch >=20 > 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(-) >=20 > diff --git a/lib/librte_eal/common/eal_common_proc.c > b/lib/librte_eal/common/eal_common_proc.c > index 52b6ab2..b704f5a 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, > } >=20 > 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 =3D 0; > diff --git a/lib/librte_eal/common/include/rte_eal.h > b/lib/librte_eal/common/include/rte_eal.h > index 044474e..d1cc89e 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); >=20 > /** > diff --git a/lib/librte_eal/rte_eal_version.map > b/lib/librte_eal/rte_eal_version.map > index d123602..7b66c73 100644 > --- a/lib/librte_eal/rte_eal_version.map > +++ b/lib/librte_eal/rte_eal_version.map > @@ -223,9 +223,9 @@ EXPERIMENTAL { > rte_eal_mbuf_user_pool_ops; > 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.7.4