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 BF1FDA0C4E; Mon, 25 Oct 2021 21:40:38 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7EEB240E3C; Mon, 25 Oct 2021 21:40:38 +0200 (CEST) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by mails.dpdk.org (Postfix) with ESMTP id DF18A4003E for ; Mon, 25 Oct 2021 21:40:36 +0200 (CEST) Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 54BE15C0273; Mon, 25 Oct 2021 15:40:36 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Mon, 25 Oct 2021 15:40:36 -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=fm2; bh= AObzyx4O8JLvBygjt8ncpx46GbLO4hscG6XR1fhxspw=; b=W9BarqJ8Zr7QysMD XMnJtIlt1OG8wDByHecrpU8WqPzyCLM08IxGDT9qQPRDL/MCi66rwxqI95KmO1Uu be62gpFhUWPn6SZOGEjXulcUsL9HZMfAfFAw5OtQSm2a2StkIopztbu5LztWVI4a l8EyJtPy9ZRHrjAWPQfMqrwxSf9R3XD2ikwZbBx57EObbU0RFL2AgLEVwGs3SRSW ry5mH9gM5wyFet3YiqO4zIqqFKCh7/m4+NxTtpf72rp5iArMtPGxlDGhqoVibIzr vhM9utVuGahlYn/GstRc8f84BUB9f0j0OwlKCn16+Ozfcc2fvwYGN4tLwu16ogj/ f8fp2w== 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=fm1; bh=AObzyx4O8JLvBygjt8ncpx46GbLO4hscG6XR1fhxs pw=; b=ks0TFvf3WpJ83L1WZlz1Q/a/7onM1FkG3n0g2nDXJ8SHbavhA8ygHjWZW +IdL6PTEYXo5OEbdzyatiDtm1uTcAgqkjpkN+NuO5N4kLaEiRuHbUjMhw3bcE7nC shUOPMOYzkpY8LsVruxcq1gwtqfi+eBTjXQAmKdvnW0Yd9AKDBgkypKIRTXlBIp9 ImAsrJ6SdaKkhwj1pg4d0qSJChIxKobAMc3C3pae0EvsjmqLuQ1ZO2ve0wQrdzgF //ZI41ekWxMQmfiSL+pTxIySCwZVuxloaa4ZFf14jbno+uIsqaOcA9VuUko3vJYV OQXBL1e9K3TcatlyD3tYY5WAjX/bQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrvdefhedgudduhecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpedugefgvdefudfftdefgeelgffhueekgfffhfeujedtteeutdej ueeiiedvffegheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 25 Oct 2021 15:40:35 -0400 (EDT) From: Thomas Monjalon To: "Sean Zhang (Networking SW)" Cc: dev@dpdk.org, Raslan Darawsheh , Wisam Monther Date: Mon, 25 Oct 2021 21:40:33 +0200 Message-ID: <10620203.iF2GRYn80F@thomas> In-Reply-To: References: <20211012034238.386505-1-xiazhang@nvidia.com> <20211013074426.1099533-1-xiazhang@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [V2] app/flow-perf: add destination ports parameter 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 Sender: "dev" > > Add optional destination ports parameter for port-id action. > > The parameter is not must, and the value is 1 by default as before if the > > parameter not provided. > > > > For example: > > > > $ dpdk-test-flow-perf -w 08:00.0,representor=[0,1] -- --transfer \ > > > --ingress --transfer --ether --portmask=0x2 --vxlan-encap \ > > > --port-id=0 > > > > This command means the rule created on representor 0 with port 0 as > > destination, since the portmask is 0x2 and dst-ports is 0: > > > > $ dpdk-test-flow-perf -w 08:00.0,representor=[0,1] \ > > > -w 08:00.1,representor=[0,1]-- --transfer --ingress --transfer \ > > > --ether --portmask=0x12 --vxlan-encap --port-id=0,3 > > > > This command means the rules created on both representor 0 of PF 0 and PF > > 1, the destination port for the first represontor is PF 0, and the destination > > port for the other one it PF 1. > > > > Signed-off-by: Sean Zhang > > Reviewed-by: Wisam Jaddo It conflicts with Wisam's patch adding more options. Please rebase.