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 551ACA0C47; Tue, 12 Oct 2021 10:14:17 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 458BC4067C; Tue, 12 Oct 2021 10:14:17 +0200 (CEST) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2076.outbound.protection.outlook.com [40.107.223.76]) by mails.dpdk.org (Postfix) with ESMTP id 7463640142 for ; Tue, 12 Oct 2021 10:14:15 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hMseco0wywpoXlDm07u4jyWZCy/PJH24EqHpxpFvryLLkKXPhiDG2ek8lDpGpK3x2rHEF1On+4KErNUjpMQFzU1Pi4TBCRUxhBSmN4B91fFOp1ouzGZZqxNM4fUM/NpigXCZERkZQCekf1fv8eObrSG/gT9j36VkDJA0RRbDPDVRjQ3X/vN+O9EWmLQabUJ6fPEEHBvXJMAhQfgqFax2nzglGuRPz4x8TOoniZbMrOhgutyUzCyuRDWXjCs5mmgMDjemM0f6Ehy1t4TDtNWMgf/8PYO3Ggqv8HQ9y7S179+TmLhr2njzIuQazy9nhWUaGGLHlE5aEf9xVvkzbUprrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=tf0AVcpBF6fTc4Y8vH6pVrkZLGmQYkXkaaFF84auuOI=; b=nh6plIYiTeoijINzggUFAO+olD+lSFbPXvq7SGspRj90Y6bltH9GqgPM8RRM1n4kCWpwJlDL9lF65YvgpKIEXCz5zCzS3U3DfWtcCpQEOPqO4Z6ykyW6VxyHA35S/DWaslfk7jA1pPcrOSskFVPXmKO7eeBCncKoPWXqsXU/cqfNZBzdITVv34Xx433+l+F1LmDiM6IFlQo3oM68rUN7shwLh5q7riWly78Ygi0UU5KhdoaRvgvQJp8xzsw8WaeidUsVb8wr4Ktm7I7lUSq92sn4pHtsD7nZlq5rFjC3UWW9bKdfL5t5bx+lMcQ1iy3KMQiWo1mJKHYmWEV/KhtXag== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=tf0AVcpBF6fTc4Y8vH6pVrkZLGmQYkXkaaFF84auuOI=; b=ZZJ7WD5cEnCUgQeaoktJwWfHfITBtD9BvpFPWQvmCp2uIgACoUe1crOKJfPROikRw7u6rNdHJORAAS4lb+jGoN7wGTFarVqjXHW6+aSICE2S9OWSsXPNu1rGNKemiY1WyJqUJqIVZ+kAwBovPyflwgtDlbIdlId2c73fit/IJ9w2ElEORLmEvbtA2cuiXueOIfEvOrX3QNoQI976f5x6vPN4KgSu5YaiPpZ9wzpfrO9/9SFmzK/YmCt+1vd6tf/g4viKpcwU/iYA6bC+5JpXe81SePNMLS1WDY+CQDlvDq6Byjbctm2SwioDrkNfdBCUloNFARmCpMfp4FRfv9Tmpw== Received: from DM8PR12MB5398.namprd12.prod.outlook.com (2603:10b6:8:3f::5) by DM4PR12MB5037.namprd12.prod.outlook.com (2603:10b6:5:388::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.20; Tue, 12 Oct 2021 08:14:14 +0000 Received: from DM8PR12MB5398.namprd12.prod.outlook.com ([fe80::bcc3:e0a7:dec:ca6d]) by DM8PR12MB5398.namprd12.prod.outlook.com ([fe80::bcc3:e0a7:dec:ca6d%4]) with mapi id 15.20.4587.026; Tue, 12 Oct 2021 08:14:14 +0000 From: "Sean Zhang (Networking SW)" To: Wisam Monther , NBU-Contact-Thomas Monjalon CC: "dev@dpdk.org" , Raslan Darawsheh Thread-Topic: [PATCH] app/flow-perf: add destination ports parameter Thread-Index: AQHXvz4u/EmuiFR6PEqm8qqna8eiq6vPAZ6A Date: Tue, 12 Oct 2021 08:14:14 +0000 Message-ID: References: <20211012034238.386505-1-xiazhang@nvidia.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: nvidia.com; dkim=none (message not signed) header.d=none;nvidia.com; dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 59d35626-3c59-4d22-cc60-08d98d58475b x-ms-traffictypediagnostic: DM4PR12MB5037: x-ld-processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4714; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: bCgzQZuK31b+jzKNM0LpnSoACkTZkoP3LYK5UNJcqT8FQsump2M0TC4wkPscV7t5ELhmcjUqETG0HG/eRoaIdjgoJ7olBvixV8n0wigRzu9pVji3wHuGzYdjHRMYfDWpoBkD4eVo2MQgye4fcRv/HZp8li2qLcRkoC0SjMxaJ4NxFvrTkEGzIPiN62Ji3XGRPX+FGonztsi1ZJakaGlHDnDT0m8yW77yA7PT7DrNAm8I9vPQhKz/EVb8IGzHpgrwGzBas3YvJS1vuE78PWcnPxpcqfcykPwFUraMBpmLKdWCPqRZ0760RHpWCl8UeTroPRHK4Dv/WtB1NOKVJVr0qnHihdAcddjq+XTCbXXs41qkDj0ieS/vRC3GXb7A9diQPfp8wZ0KM+NsnxTo+3zIJwRyMs5FwK0m4YySE8YQZePspuVfW5YTHCag6Cnx/dYq2TBydahlMa1wDM7RR8lYN12q0wss9WHmgGVp2qIdvwPYSpVKwhpdM0IlT1PVn/TexF8pfZbldJLVVvknnDTBlutm96saruwozhieDG141AHZbeAcvxG6AQHutf1AcRVuv6BmGpLPldwIMO8mIPVxrkcRBnnrdupIJpBKe2Enq19R/N53shTDO6+Xce9rt9qCL1TEz9Zdizx2bPDSJ7EFzQcVdNArsRS7J2DySQNDgbgkObkak7Y25aDx9KGA0QTqlyBU22tFfJhdqlr2uDryzg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM8PR12MB5398.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(122000001)(107886003)(9686003)(6506007)(83380400001)(38100700002)(5660300002)(8676002)(316002)(33656002)(186003)(508600001)(71200400001)(86362001)(110136005)(53546011)(38070700005)(66446008)(66476007)(52536014)(66556008)(64756008)(55016002)(66946007)(2906002)(76116006)(26005)(54906003)(8936002)(7696005)(4326008); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?TLnVSSgUFMLXOYvbnd/pSpK10Kp9BmySIZXGH0ZDlhyMk+eOryfBRzHy5EzU?= =?us-ascii?Q?ntT5ksJG9Cx+aPGucAqBumGV9jVVkhq3npesaRe06KEJfNlPyQncBm5AktGj?= =?us-ascii?Q?jCs3NhxLnomfMlEEcC8iGMr63glTz/N6TFnoa2gBUxRdaWRU+tzopdd3JnAG?= =?us-ascii?Q?V7xhZg9f+2Z112qCdVqlohtU9adhAG4BDM0RQt8R8oPAXtDHuRAtFMkRZPX1?= =?us-ascii?Q?mJh8CEs1ULKjAX4ln62euYS1m54mzt3LTzVsjTBRkR5BZxOJ+euLp9xBLeGJ?= =?us-ascii?Q?Q2gAjjUIIUiOkZbBAvqQEODjUGCMb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=?us-ascii?Q?XS8hFOu5FUF6RanpIblp935QEUNbLIzNZl7xTO46484xhw2H+ib3QnclKp5q?= =?us-ascii?Q?sYVbtDJib9i73xUyotkPTL5/eCgPD4PFvpdrGtoNQxR0aM4FOHFb5r490bIj?= =?us-ascii?Q?3fo=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM8PR12MB5398.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 59d35626-3c59-4d22-cc60-08d98d58475b X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Oct 2021 08:14:14.1640 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: g25cwN6MBq2xM+1nLWUwvZIZpPkEPcazh0mTwV6b4KhkqOK39N/U8SpUvCtW0kRF9RZmaz3rmS4mRJpLWINWXA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5037 Subject: Re: [dpdk-dev] [PATCH] 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" Hi Wisam, > -----Original Message----- > From: Wisam Monther > Sent: Tuesday, October 12, 2021 3:53 PM > To: Sean Zhang (Networking SW) ; NBU-Contact- > Thomas Monjalon > Cc: dev@dpdk.org; Raslan Darawsheh > Subject: RE: [PATCH] app/flow-perf: add destination ports parameter >=20 > Hi, >=20 > > -----Original Message----- > > From: Sean Zhang (Networking SW) > > Sent: Tuesday, October 12, 2021 6:43 AM > > To: NBU-Contact-Thomas Monjalon ; Wisam > Monther > > > > Cc: dev@dpdk.org; Raslan Darawsheh > > Subject: [PATCH] app/flow-perf: add destination ports parameter > > > > Add destination ports(dst-ports) parameter for port-id action, the > > parameter is only valid for port-id action. The parameter is not Must, > > and the value is 1 by default as before if not provided. > > > > For example: > > > > $ dpdk-test-flow-perf -w 08:00.0,representor=3D[0,1] -- --transfer \ > > > --ingress --transfer --ether --portmask=3D0x2 --vxlan-encap \ > > > --port-id > > > --dst-ports=3D0 > > > > 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=3D[0,1] \ > > > -w 08:00.1,representor=3D[0,1]-- --transfer --ingress --transfer \ > > > --ether --portmask=3D0x12 --vxlan-encap --port-id --dst-ports=3D0,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 >=20 > Do you think it's applicable to use the same option? > I mean, usage: > --port-id: means default. > --port-id=3DN,M: use the parsing ports? Yes, since the argument can be optional, your suggestion is applicable. So = do you suggest to change to --port-id=3DN,M? >=20 > BRs, > Wisam Jaddo