From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id AA618A0540; Mon, 13 Jul 2020 19:37:37 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 187551D5E8; Mon, 13 Jul 2020 19:37:37 +0200 (CEST) Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) by dpdk.org (Postfix) with ESMTP id 01DE91D531 for ; Mon, 13 Jul 2020 19:37:34 +0200 (CEST) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id 7D78B419; Mon, 13 Jul 2020 13:37:33 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Mon, 13 Jul 2020 13:37:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm1; bh= 93qLwWhw+qExz+3YgLdghXlqpFS7rP1nUhyTt5R1u6E=; b=cTN81Bif+ruhPFx/ dwGwQS2PdZPa2w0dadFCufQ1gOYDCmJLNcImXtPQSGkYw5FP+rftCmSFKqjfL8Ub x77EMZxwAL/L3HgJN72Z31rC3PMhJgG/PT3FIYSKg30I42MCtPc7IKIkyRJEZi2U IUU2l+pgcKqA+06KqJnIRWYqmzOMMiYWrOpcQYTXkkGPnF+gmj+R3a1sByFUlFSN sftRq3XnFKEgksCx6lHFHnE0J8+G2368YaLTiJt8MIxHg4uXzygCtaHQje8p/dEf ZsJtpnbeOqniH5zQzDR5qIVFzsbScjp3/GkyV1iEwaOV3DaNsbxMoVg8N7QfrOFb 2YOA3Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=93qLwWhw+qExz+3YgLdghXlqpFS7rP1nUhyTt5R1u 6E=; b=IMwdd7wZY5Il5kKI1KRhnfbKSiUe8t92jzon4m9uG+ll7Homw/RlvvACV VQgcezwF+0Y0crq5Ophj71zav5lpX/ntUDQldkJAEkPhQs9JAJqWjxvZzBSbDkJ4 vn2ul8dwGfsQiyBBcXAiFpJXre3/EkwPUYdiLzxfvQrO0qsgAa1Ns55robs28h1e cgl5wDesdawbj2Rws99RUYjgjfWxxAPka46Z+EZ9E3+GmNTaWzq6rIOHcZFzAOSy ZWocgmGk39wN7gMXiMsNmOT5xQvXftPA7mTJ9fO5g0oB+hh8qMGWnXlIHXKb+aT1 Jcy5UPDD7WksEvuCbllCOH3x1YJ/w== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrvdekgdduudekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepudeggfdvfeduffdtfeeglefghfeukefgfffhueejtdetuedtjeeu ieeivdffgeehnecukfhppeejjedrudefgedrvddtfedrudekgeenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghl ohhnrdhnvght X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 42ADB328005D; Mon, 13 Jul 2020 13:37:31 -0400 (EDT) From: Thomas Monjalon To: Konstantin Ananyev Cc: dev@dpdk.org, olivier.matz@6wind.com, arybchenko@solarflare.com, jielong.zjl@antfin.com, gage.eads@intel.com, Konstantin Ananyev Date: Mon, 13 Jul 2020 19:37:29 +0200 Message-ID: <43101277.Wr5N64qcEc@thomas> In-Reply-To: <20200713155050.27743-3-konstantin.ananyev@intel.com> References: <20200710162119.27653-1-konstantin.ananyev@intel.com> <20200713155050.27743-1-konstantin.ananyev@intel.com> <20200713155050.27743-3-konstantin.ananyev@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v4 2/2] mempool/ring: add support for new ring sync modes 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 13/07/2020 17:50, Konstantin Ananyev: > Two new sync modes were introduced into rte_ring: > relaxed tail sync (RTS) and head/tail sync (HTS). > This change provides user with ability to select these > modes for ring based mempool via mempool ops API. > > Signed-off-by: Konstantin Ananyev > Acked-by: Gage Eads > --- > doc/guides/mempool/ring.rst | 10 +++ > doc/guides/rel_notes/release_20_08.rst | 6 ++ > drivers/mempool/ring/rte_mempool_ring.c | 88 ++++++++++++++++++++++--- > 3 files changed, 95 insertions(+), 9 deletions(-) > > diff --git a/doc/guides/mempool/ring.rst b/doc/guides/mempool/ring.rst > index b8659c03f..9e2824070 100644 > --- a/doc/guides/mempool/ring.rst > +++ b/doc/guides/mempool/ring.rst > @@ -29,6 +29,16 @@ and can be selected via mempool ops API: > Underlying **rte_ring** operates in multi-thread producer, > single-thread consumer sync mode. > > +- ``ring_mt_rts`` > + > + For underlying **rte_ring** both producer and consumer operate in > + multi-thread Relaxed Tail Sync (RTS) mode. > + > +- ``ring_mt_hts`` > + > + For underlying **rte_ring** both producer and consumer operate in > + multi-thread Haad-Tail Sync (HTS) mode. Typo Haad -> Head Please explain what these modes mean and why/when use them.