From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 40016A0545; Mon, 20 Jun 2022 16:10:20 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 279B94069C; Mon, 20 Jun 2022 16:10:20 +0200 (CEST) Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) by mails.dpdk.org (Postfix) with ESMTP id 10F6440151 for ; Mon, 20 Jun 2022 16:10:19 +0200 (CEST) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 9D3DC3200961; Mon, 20 Jun 2022 10:10:17 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Mon, 20 Jun 2022 10:10:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm2; t=1655734217; x= 1655820617; bh=3CBK3ypTRa5eODXkKcxJ25/XVNlO3hdZkl5SoBqV6OU=; b=g LUIj5jZiKKAGTwqmvlar6Tb4NWMQfCTcjaSJ7z3JYV9TkNOw4YoAySPAavYZnAa1 chrwLWQbg2u6HqmVszzCVHhYVD87XPpIJsVxQKZBCv77a0cuHgQAHoUnicBYcBex H/P2uu3frGql2EdmjfmSY+3ZcHaMTCbScStOA1xxrrwGCPttixNkv76KoxAq1XMw GYSPDxOeyGP4lQFJXAOmaGNC0UgpJxI9raWAD9VnTj4MZ+2jUyVArm5O42vnshKn 4rLp2wEiAjZG/g6myBfdUv2rUg9+3JK2/kabIwuXZSJyx2X8/Q69wRpll0YyVq/D h4obL8llmKlR4D5Pigb6g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1655734217; x= 1655820617; bh=3CBK3ypTRa5eODXkKcxJ25/XVNlO3hdZkl5SoBqV6OU=; b=R om2eUkbSqo5nAvdnpUIa3Hifrgp+ysBX0FgpsIm3rCCGAHh1Zg1szYDrHBlz50V2 XYvn03s6vK8ivdTBA/8FeSC8aL1az1DiUQsN2VtnGMw5D405xLc5fA4Yi9Jz8o+3 LR6KhytBzqnyxiGNJToH6EawomePH1/6aY0qOmOVljV2U9qeVL2MptUfg4kDS3Kz zy9ccVJvqzsC0PDnVjmrvC626GiF377d+iNeaO9Ksm1rERY1E2leD75mTHjcggPt OBgMgLr1iW/QJaPx8NE3PHFLTeilA7FNv8aLi5LB/WVERm8mSfiywrbPtMRDBrnM Inj/m5D78XS88eoFGynOQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrudefuddgjeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpedtjeeiieefhedtfffgvdelteeufeefheeujefgueetfedttdei kefgkeduhedtgfenucevlhhushhtvghrufhiiigvpedunecurfgrrhgrmhepmhgrihhlfh hrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 20 Jun 2022 10:10:16 -0400 (EDT) From: Thomas Monjalon To: Cristian Dumitrescu Cc: dev@dpdk.org Subject: Re: [PATCH] pipeline: rework optimization pattern for header generation Date: Mon, 20 Jun 2022 16:10:15 +0200 Message-ID: <3234652.8hb0ThOEGa@thomas> In-Reply-To: <20220616141645.30366-1-cristian.dumitrescu@intel.com> References: <20220616141645.30366-1-cristian.dumitrescu@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org 16/06/2022 16:16, Cristian Dumitrescu: > The P4 language requires marking a header as valid before any of the > header fields are written as opposed to after the writes are done. > Hence, the optimization of replacing the sequence of instructions to > generate a header by reading it from the table action data with a > single DMA internal instruction are reworked from "mov all + validate > -> dma" to "validate + mov all -> dma". > > Signed-off-by: Cristian Dumitrescu Applied, thanks.