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 05B6AA0C4C; Thu, 14 Oct 2021 09:53:20 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E4DD740042; Thu, 14 Oct 2021 09:53:19 +0200 (CEST) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2054.outbound.protection.outlook.com [40.107.220.54]) by mails.dpdk.org (Postfix) with ESMTP id CC06840041 for ; Thu, 14 Oct 2021 09:53:18 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AyZETkQ3ycTJMpIkqlM8gTcyFRgKPHC5aczXbXQggw06bTub04sSQCTDv6z9+fN6KAOCxalpVtDgJY1Bj54jk6tJHdG/8teEijFw5XFSne9fUvKf2HL/T+0/wuy8zWrVqYGp3eTgdCbk8sgW4BiHe5eet0MzfHLlxfzAvVqSzKNRL5RN2X7aTLJLMIn8N5IQmbnaewcETVVfFr5/V6uH7JKTgwOjADM170u4LhyGzQDDOrxrVPwjDI8kW0rWSIhgPQAkaRQ3UXZDmkZWzuZ00pXXwM1yTphxVixx3PKVkOgyr7UmQuea4auRA9kt/9Xpl1GhJo/zd/S+VDYDfOqvLQ== 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=N7/b/slecw+ZG8qi2DkUIsJxXdbKgiuXiBjTPTv78MI=; b=n6OfZ5u6DexKLlIInym5KOqs2LTy3f85dgjEmI/vnD2abOZ0hgECkUouqmd2aEQK1x0ZR1capldC8cG9x9zxpbOSmtLfZkxjipDyYhmlXS0yzqhFNhThPf98itsWkYZ7JiBAS21feODScX1rzK/NssP1pEMDqnlfkrUgi75KtEU327yP315JrFTLWdrTjPvMk0ogNP7fum77ojCiQOhe6heSZqMoCF6+bDubZVSt8Qyg241zc/YGH8YR8AsG4kiN7iz/0MjCrhD2D6T8zMW8X/BqIg4AM5wDrK6pJ5eOyQw2kWg7JfvqBkA4xWMHjj52/JcwOd271PajqB9MlqkHVQ== 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=N7/b/slecw+ZG8qi2DkUIsJxXdbKgiuXiBjTPTv78MI=; b=UMlMBSzubtKpYnmkv8S60IywgSp21hZ4bKzX4C0R77MqEsSaXFrKXi+AiCqFI4Op3+WNJx9BUSYllKSXt+k/pRqcTZJXdylPtkYkHfzaaFCY9Dj6UnHV/d4Pp+Xe2nZLzU82WVikx3jXeLOwRhQ7wEghI6g4YlxbvHG+D1qCCpdHy1UwzJmwD2j/gnP92SrHEcgg45pUUrC+T9puktyK3QvCPzGUtXB91xNfcgjm7ZCP36BStUPGtQ264rn5H5SIHJafuV/cLAMit6Omk2Ver/b5nN3JbIOAgaY9vIOEKL1J9ArLr19bHUkcUV5EQxZJNfPREiRxFow+Fiw8TlO+mw== Received: from DM4PR12MB5039.namprd12.prod.outlook.com (2603:10b6:5:38a::18) by DM4PR12MB5229.namprd12.prod.outlook.com (2603:10b6:5:398::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.15; Thu, 14 Oct 2021 07:53:16 +0000 Received: from DM4PR12MB5039.namprd12.prod.outlook.com ([fe80::3096:12ef:d306:d065]) by DM4PR12MB5039.namprd12.prod.outlook.com ([fe80::3096:12ef:d306:d065%9]) with mapi id 15.20.4608.016; Thu, 14 Oct 2021 07:53:16 +0000 From: Wisam Monther To: "Sean Zhang (Networking SW)" , NBU-Contact-Thomas Monjalon CC: "dev@dpdk.org" , Raslan Darawsheh Thread-Topic: [V2] app/flow-perf: add destination ports parameter Thread-Index: AQHXwAY3zI1Nn0XMH0+I7lgui0dwMavSIC0w Date: Thu, 14 Oct 2021 07:53:16 +0000 Message-ID: References: <20211012034238.386505-1-xiazhang@nvidia.com> <20211013074426.1099533-1-xiazhang@nvidia.com> In-Reply-To: <20211013074426.1099533-1-xiazhang@nvidia.com> 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: 3a1e33ee-4ed8-46ab-ce5d-08d98ee7ae69 x-ms-traffictypediagnostic: DM4PR12MB5229: 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:3383; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: WUjpMykuIbEAdOfKQRfXFCL1FQqwHhCE51SItsL8lcvb3515BJsA3q4hqA2ZdzDk3RfaTIXjJsI0rofkYOBnfuLXWX+jNPLdEV8pI5wn3qy1sbrGScmzR4CZR7Y2EVJXBeqTT8B3uUmA/Hw08O6qqQ8VQxX6RogCbG4wNSoAxhdRQI15f1eXk4JBIOSF+qx5xk9WgIFlhHp7ZIEFhEDFyjSTp0vCKkomXb+A1oZPl1n8OtgqK+nJrDM8HreDXYY3YLwOFZ0bsi6eumLeypHpC9F/SjAWZy/qFwbbveK0H6DdUXAotlpD3oKqKztE18R/IuhlX3TkvLp1htGeZ/qlh8SHCS3nUMKrS82Z7AtpKs3zYO6KmofnKYzIbDBtR3tQCsU2taeWzZ+vMeqI2142lX9tyN4sYK9KXL8NzV9tebMPbDPdF5H+LSk1cKjkRZNXN1mqoqffUGm/czBINW1yocMT2X2ZbO6vYrpxxqIhuBITCxCyEH9msZB+bBnTDua1fMAa9ewEiXGVFQXVAlAV+K1pdrCVWtf/biY5KVlTGFvn7EnJy8/2myLy+siVgLNn77fOB9MgslZvC3ZMl1J7H/nSXbSxcAMhltseanckZRBOgrtsNzd0BbCykg5nb641B3Z8C53SXCTu+lEztdlxCgm55Ew4qFFtE5wGlsswMSENNLv9fdMyfIXW6NhQO5MscxpNE85fh+5WhY29FhigKg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR12MB5039.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(86362001)(107886003)(8936002)(38070700005)(8676002)(66946007)(64756008)(66446008)(186003)(66476007)(7696005)(71200400001)(2906002)(76116006)(26005)(66556008)(9686003)(4326008)(38100700002)(316002)(33656002)(508600001)(54906003)(83380400001)(122000001)(52536014)(110136005)(5660300002)(53546011)(6506007)(55016002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?c/rbaDrUNtIt3yqOsIDGxLX6nfOVilmjhk9NbvZCInLpjstmh6JS75Dv6qAc?= =?us-ascii?Q?Gk2M3hvbP1lCjqPZwDiAHx71VH/VYrd96HQnaIKTyf3PtmvFzllHkpHtj+4j?= =?us-ascii?Q?1CBzDmg2WS5ADxibALFtx2Azhxf1Xg0C/4vrDdgzKwY3LLjgjDfAe95Cm70r?= =?us-ascii?Q?DnVpQ0B1EKB3F5b+Y245CLTCsYwJqhwRg1gb5mVTZffCa9bC2pXZBUETj6xz?= =?us-ascii?Q?7HRfC+g98dCeD9nUWSIMsiVRKBSfILJRhTjVEQtA+M2P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7lR1WRATIAnMdbj2N1e7SMxsDXNMLyqJzlXOP?= =?us-ascii?Q?SCsySeVzgXkZqfZRnUMNj2rLlY508/JkO5PcF2764jgAr8pm1CfIkCRxOHiE?= =?us-ascii?Q?SnoRUf6nEJ0ZjPzaQSQkQtSBBeBdhp6VgREmZc3/HLVoWNLjhMB1ilMLXQuu?= =?us-ascii?Q?Z7s=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: DM4PR12MB5039.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3a1e33ee-4ed8-46ab-ce5d-08d98ee7ae69 X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Oct 2021 07:53:16.3100 (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: H2MLu2poFgE8YwLW05a6zYxYaJGAsF7Kkxt2rJE9KrF1nUbZHrXimabkU9IxF6mYGDEEwLXBjVIapVSL8LO/FA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5229 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" Hi Sean, > -----Original Message----- > From: Sean Zhang (Networking SW) > Sent: Wednesday, October 13, 2021 10:44 AM > To: NBU-Contact-Thomas Monjalon ; Wisam > Monther > Cc: dev@dpdk.org; Raslan Darawsheh > Subject: [V2] app/flow-perf: add destination ports parameter >=20 > 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. >=20 > For example: >=20 > $ dpdk-test-flow-perf -w 08:00.0,representor=3D[0,1] -- --transfer \ > > --ingress --transfer --ether --portmask=3D0x2 --vxlan-encap \ > > --port-id=3D0 >=20 > This command means the rule created on representor 0 with port 0 as > destination, since the portmask is 0x2 and dst-ports is 0: >=20 > $ 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=3D0,3 >=20 > 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 destin= ation > port for the other one it PF 1. >=20 > Signed-off-by: Sean Zhang > --- > v2: > remove new added dst-ports parameter, reuse port-id with optional > parameter > --- Reviewed-by: Wisam Jaddo BRs, Wisam Jaddo