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 67A794267F; Sat, 30 Sep 2023 08:37:33 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 09AF340156; Sat, 30 Sep 2023 08:37:33 +0200 (CEST) Received: from agw.arknetworks.am (agw.arknetworks.am [79.141.165.80]) by mails.dpdk.org (Postfix) with ESMTP id 1F6934003C for ; Sat, 30 Sep 2023 08:37:32 +0200 (CEST) Received: from debian (unknown [78.109.65.239]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by agw.arknetworks.am (Postfix) with ESMTPSA id 70696E115F; Sat, 30 Sep 2023 10:37:31 +0400 (+04) DKIM-Filter: OpenDKIM Filter v2.11.0 agw.arknetworks.am 70696E115F DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arknetworks.am; s=default; t=1696055851; bh=QMvOJMtdvw8hMaDelhPhKPvsPZbuQlbfEYGpCGQvZsY=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=hVpjU9QSvFe4DN/aIsAR2UeVOpOSxtGLJXdUR0VLSr3eLfBTLuHtn6hc/d5iFdz8p uZtACwQ2DZhBPAJMjRckzDZdcwNGiO9jiZv7mmEyt5z7PYqWR17y/wuvra2g9e4RDp EseggauDTcRAh2JuN68oAHgUEhRj+lx+vjrT2aNWwKfhBkS+C+9nQ4x7dF5cjv1ufJ gGNpCAUGEvU3gBuhErw8Sc38iR3xD998CDJE9UZq5p6Otwvt56furwzdNMMUpj81N9 wgxYoSWjZriLdYGH3sB5CwL4SWfptvjd5BlgfTe6yW0xWsG1ssLKafxMArC4gDNvXs QXwBtUR+bckww== Date: Sat, 30 Sep 2023 10:37:25 +0400 (+04) From: Ivan Malov To: Andrew Rybchenko cc: dev@dpdk.org, Ferruh Yigit , Andy Moreton Subject: Re: [PATCH] net/sfc: support packet replay in transfer flows In-Reply-To: <07db6dcf-057e-00bc-54ce-a31bc79ac95e@oktetlabs.ru> Message-ID: <7d563e03-2c4b-90d8-31ae-a41cb000fd32@arknetworks.am> References: <20230810182820.6365-1-ivan.malov@arknetworks.am> <20230927103605.6022-1-ivan.malov@arknetworks.am> <07db6dcf-057e-00bc-54ce-a31bc79ac95e@oktetlabs.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed 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 On Sat, 30 Sep 2023, Andrew Rybchenko wrote: > On 9/27/23 13:36, Ivan Malov wrote: >> Packet replay enables users to leverage multiple counters in >> one flow and allows to request delivery to multiple ports. >> >> A given flow rule may use either one inline count action >> and multiple indirect counters or just multiple indirect >> counters. The inline count action (if any) must come >> before the first delivery action or before the first >> indirect count action, whichever comes earlier. >> >> These are some testpmd examples of supported >> multi-count and mirroring use cases: >> >> flow create 0 transfer pattern represented_port ethdev_port_id is 0 / end \ >> actions port_representor port_id 0 / port_representor port_id 1 / end >> >> or >> >> flow indirect_action 0 create action_id 239 transfer action count / end >> >> flow create 0 transfer pattern represented_port ethdev_port_id is 0 / end \ >> actions count / port_representor port_id 0 / indirect 239 / \ >> port_representor port_id 1 / end >> >> or >> >> flow indirect_action 0 create action_id 239 transfer action count / end >> >> flow create 0 transfer pattern represented_port ethdev_port_id is 0 / end \ >> actions indirect 239 / port_representor port_id 0 / indirect 239 / \ >> port_representor port_id 1 / end >> >> and the likes. >> >> Signed-off-by: Ivan Malov >> Reviewed-by: Andy Moreton > > Acked-by: Andrew Rybchenko > Thank you.