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 B3B1AA0C61; Fri, 5 Nov 2021 10:51:03 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 83E4F41134; Fri, 5 Nov 2021 10:51:03 +0100 (CET) Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) by mails.dpdk.org (Postfix) with ESMTP id AC5C740E5A for ; Fri, 5 Nov 2021 10:51:02 +0100 (CET) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id C676E3200B58; Fri, 5 Nov 2021 05:50:58 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Fri, 05 Nov 2021 05:50:59 -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= i46qWHokmyHMKawsGs6y77bCnsQhdXIvOWD1vDpojtw=; b=qOTZoztIk1crn0jZ epFNkMzTrjZImzMxhdDxW/Fkie6WTqZx3XvnCzmW+6Ff1FR7BpFWZg4wfr5C81pj HMyBCcBSeHDhWWKUe8KMzwX5GVwY2E6aP/bGXKlOxSXGyqHxXpIOclQu4MCm3UKb x+h+7IE4cgSAIgVb/RPeSuEJWa2eTqnoqMO1jitM1e/CZe/tqAZWAMAp9d22qWO1 KVLjB1Ks23xkknD1uedWYPzVdA/1wmoh9eAbacbYJAQpZDpseQPgGfDfn8XOxNQx Q5NA9MJkxpdvAItMLctKq9R87WizOwvHSuf/NC+gfwvSJEDlatEJSfKEaysASNbP LBt4Xg== 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=i46qWHokmyHMKawsGs6y77bCnsQhdXIvOWD1vDpoj tw=; b=OgDV0NoTbt3Thf4y/ykcJ/JQQGAIdhtpSS8UJ8/Ayuwl2LP1ByOHV/ebO wC7F75Ni3qvZtBccCqPd/dFIPMLj8S2J9dIlLkWDGBfA5l2GxILP+e98CftrHgng ghCbgiCGydpZFK58yOm0R9CDHMYwscc2lhKnRA/vij6/Mzz3fi3vB7Le6xRbuNb7 td0auplV1aMxtBO1Wk0ShJk+oLiOf8c2bU4mjPgNK8fZeFcqD24ZgWvwLG9taoBE K36szzdHL5G0clQZH8nkmVMnCezluEXNT7QmLfyBe6Mi2Kfn0OBGuKf7i+kH0Y5Q +NXKyiQ3cpkr8GFiOVE2QsdTKzkAw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrtdeigddtjecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucggtf frrghtthgvrhhnpedugefgvdefudfftdefgeelgffhueekgfffhfeujedtteeutdejueei iedvffegheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 5 Nov 2021 05:50:57 -0400 (EDT) From: Thomas Monjalon To: "Sean Zhang (Networking SW)" , Raslan Darawsheh Cc: dev@dpdk.org, Wisam Monther Date: Fri, 05 Nov 2021 10:50:56 +0100 Message-ID: <4650109.Q2NrgCsY6D@thomas> In-Reply-To: References: <20211012034238.386505-1-xiazhang@nvidia.com> <20211029055251.666699-1-xiazhang@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [V3] 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 > > --- > > v3: > > resolve merging conflict > > v2: > > remove new added dst-ports parameter, reuse port-id with optional > > parameter > > --- > > Reviewed-by: Wisam Jaddo Applied, thanks.