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 BB26DA0C47; Tue, 12 Oct 2021 09:11:01 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9E79B40142; Tue, 12 Oct 2021 09:11:01 +0200 (CEST) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2083.outbound.protection.outlook.com [40.107.244.83]) by mails.dpdk.org (Postfix) with ESMTP id BEFCD4003C for ; Tue, 12 Oct 2021 09:11:00 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kDjHXLRB7QCd/nuxpkLgRp87Vx/EAtw0zv1Erv7YLrfH7Yd0coMOk3nEW0pwBXPzisKyi+Eme4WhhDQu/trY3WxG/llXXHcaUyeDEVEQTkDz/+jaz8+ABTvqYuxsxXnLI0fFKDFmn3EIHsJGci8OtaofudrKBkfhHx06zlmDwU2Ii0MXYlcdKpBv7Zzt0Jpx2V2pY0uyZdQvEllw+MtbfobJgFSnOcvhO6DoPWElLj/dIAkSf4+W8xUve6Uz7GDYfVw/74wt6IMOQ0cXvoUsAMqQlty7jWh/OcMF4C4sVZKsXAWUCB3kBRlvMiaJ9szJOiCCwacfZepfBR68sFe+aA== 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=9O+T8WnA+npxyBaD8xfE+xV8GAsqP5Lvh5Y33UTMbWI=; b=OVmpcfv4SvMkELnxjhKRAzHGnB2xZSzKHWxzEgJgNmtQWpJZ49ckIhsu4MYWTgKJE+NOeSyegpu6d9RPbCvc8Ngq2AaK+xqUpc/5VPpOn0YrlnRsrcFO9qocnSWJEHvHJq1ZdPPKvcQFESJPSbM/aD4LBH6bMotkvuuwmcXmO9BJ64zLuo+s3sfLSQgxN1cSVxa3Wf4MG7e01ruX8AgLk5d10xm5DjzZ91NyUuqZWAbWfK11kJSExiJLJ7D4kDWfxZJs792UM2GAE8b58NTJnkNTbp40pbhfuIWjx/lG9MBhQz1URk28APFLVvMXW6jZP/GEcZ+juY6FS5H5UzIz2A== 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=9O+T8WnA+npxyBaD8xfE+xV8GAsqP5Lvh5Y33UTMbWI=; b=QaV2BYEUh9B40J5VRkXJVItBFpbGhTlt3CFMNbUgpi8e6Px3O1uLuSGt7mGEzk7DyQi2SG1y55QHYy0ZUUgDPjR+jmlJ1zP/nORHJHT9wN3OBIE7JkKoU+cOHnWFOpf2MEoLaOjTLzrBVgs1/1VIKX6siPvKdObVjL6GctEmf+ZUW6XIgYJ6mYR8PoxQjiM8bjBvzOQy4Zo5vMCxRULn4tsXrmCKwfFyF3FDBnfGm8AS2ooH+15kWaxU4vD6PB6YlRg+xKHnI1XM+sDAx6duqADXh1r+WmsoPsR0FMLkaKv5BrE1fkihDwIrKuCDhboMHg4R24OaMp4IxCAvRy3Elg== Received: from DM4PR12MB5039.namprd12.prod.outlook.com (2603:10b6:5:38a::18) by DM4PR12MB5070.namprd12.prod.outlook.com (2603:10b6:5:389::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.18; Tue, 12 Oct 2021 07:10:59 +0000 Received: from DM4PR12MB5039.namprd12.prod.outlook.com ([fe80::3096:12ef:d306:d065]) by DM4PR12MB5039.namprd12.prod.outlook.com ([fe80::3096:12ef:d306:d065%8]) with mapi id 15.20.4587.026; Tue, 12 Oct 2021 07:10:59 +0000 From: Wisam Monther To: "Sean Zhang (Networking SW)" , NBU-Contact-Thomas Monjalon CC: "dev@dpdk.org" , Raslan Darawsheh Thread-Topic: [PATCH] app/flow-perf: add destination ports parameter Thread-Index: AQHXvxtJspyqmYx/0EKuG9jzm9OrDavO8jfQ Date: Tue, 12 Oct 2021 07:10:59 +0000 Message-ID: References: <20211012034238.386505-1-xiazhang@nvidia.com> In-Reply-To: <20211012034238.386505-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: bb4b208c-1ce1-4464-0ead-08d98d4f7181 x-ms-traffictypediagnostic: DM4PR12MB5070: 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: QlnwpLqhqyWKh/esDDgSTGKQnYgz3dq/qQwSDj0rH/ahZNN4rzIlzVE+aj7ZR3eYuzVgpVqaXDivTrMdXpNp4mDiOGhtuCYleb3QakwvcGpmXVWXQpAAs3nijAOYccId0uS7s49InIZso+SlKU39A0QcqVu9o7H8OJ43//S1BJkxx4pQ/OLsSW1fkt8eMBnA5T+CYcmx+T7cqo4y/zMeVLPaVBAf1Q8sgMB3SkhYaTNoktRZfMPOJn8VT6G7PnkFNTZbCCjyahRQ1Ts+mzkrpGdR8TUunDFvikimXzkrBfRGScvWhhUKpjE2AF4UrYAjvLXlM/2wDSy/33Kz2ZR78eg49VQgs8vy4IsgRNQS8YsBWwm0IlWZdGf9i0FsIwR4Y8OTDNcWsPSiLs5TzDkLZfCl48OoCDuZwkFd5S+tThu7nkF0ny0SiHiIxjwwNrgM3X6MsHeqJ3WUaeK8PjJnxbM1pAQozwbLG3vxbyUzdHiYACHXr3GP5HJpm3vgHr79Av6HSvLJoWk9VEoLPcJNVMZ6TXxJ7uqN+0VzBCXlRr6trQNKk3VvDloaKPo0wc1SnppmgAq+V1uL61/ZoOvUMxHw9wKoYOZPToGlSafoUqHZFVBBvyyr0MEPRf+72b8SB/njcDWGxFdvUegx3wvCflanqxjUSgy1Wo+HEf+NQmBdmye4YsDaEyGDKqs+nhFaU/Lmh1WK0fB2IxvQpUY1ww== 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)(38100700002)(110136005)(55016002)(66556008)(71200400001)(66446008)(64756008)(66946007)(66476007)(38070700005)(33656002)(122000001)(54906003)(107886003)(76116006)(83380400001)(9686003)(26005)(52536014)(2906002)(5660300002)(4326008)(8676002)(186003)(7696005)(6506007)(53546011)(316002)(508600001)(8936002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?ce1D0YERPl3J/91/lGkaAyuyNPXJ5SZ8vcwpDLdNIfptU3YLrfcCxNXVhX1V?= =?us-ascii?Q?Yb1COjTWkPSeUT2QOfP59OkTCbCJm+6opBaf2AsBUGZcsNHMtNN5k5JvJQlC?= =?us-ascii?Q?7npAdOIwH8kqaHDuUfZyxncdNTYirgABvvkdwR2Zc0NbJbusLo9aN62NKWR+?= =?us-ascii?Q?IEia9YThfrUao1NIWMtwr+3VZRgXD8ufan8J+iHfqeEp9JYFs6nGjOqFtL/S?= =?us-ascii?Q?ehGOgQlm2fpFcQL/gNLWREyl2aI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g8sP3Cqc?= =?us-ascii?Q?2HVJZdrGPSEzA3L+okSUcKFSOGHxzGnrMVWcEfwCs17x+THPt83RISOeRTUM?= =?us-ascii?Q?uUgOun9/GCrCnfDOBY79a9URBptJVIsoXAP8nSNBSOzUXufhcgMPJ7LMPnlF?= =?us-ascii?Q?jmBdR515oI5Zph5kcyZBn9Ht/eDuXW6cRFAcNEoFWJwUMUh3NOaR7lnsANQS?= =?us-ascii?Q?6oD2NBbQt+kOYi7oyAyZTGGe?= 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: bb4b208c-1ce1-4464-0ead-08d98d4f7181 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Oct 2021 07:10:59.4786 (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: 9SIswoLN1LgI6lGYJl0a3kDfkyAQw/R7AL1c9w9oC/Bd2S/ZOt7DGJf/fFcWidRgIlv+JHxfSP7L8dBzgTCYyQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5070 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, > -----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 >=20 > Add destination ports(dst-ports) parameter for port-id action, the parame= ter > is only valid for port-id action. The parameter is not Must, and the valu= e is 1 > by default as before if 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 > > --dst-ports=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 --dst-ports=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 Reviewed-by: Wisam Jaddo BRs, Wisam Jaddo