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 20B99A0C47; Sun, 31 Oct 2021 09:44:45 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9E88B4068E; Sun, 31 Oct 2021 09:44:44 +0100 (CET) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2052.outbound.protection.outlook.com [40.107.237.52]) by mails.dpdk.org (Postfix) with ESMTP id EF3FA40689 for ; Sun, 31 Oct 2021 09:44:42 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hjujhDcJpLVEryD4u/gSCvfvmStwzlAtYqFy6rGm7BcKooLoKh0S8PH4MAHDNWNYNwQgWxeYwAuoyOO+br+nBsqa4ENOJ5LqffRZknyOKEV8s0F7gjgw/Nezirr6jd4e4uf2tPYifSOZGIeOFHAs5jPzhD2TXvkq4KcFH9stfeHYXetNbuJQFdiM9fRw9bF6pLAm82i1JuAxIrW6a1JEFMhHYoNIu4w/BRB2cKsxbZiNRSxHaPrZV+KoPNQczYWzJHdnTwgK93KySPmsvK3YVIZJrIz0ZJguhbNc5iI9/S4e4ds1nGLAZzw+vc+5Eeje9xlftclm/ATY3ugqSqAjWQ== 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=OEdGLWdhqI61MOPyUAO2c487hn7srlrFIP9kXx5stbo=; b=GQHBimgjLlff+Zxn6F+tEXFUu2q4FJLaqN8EjKSOwVSwMlnYfQjV6Zz8qFxKcC4t2qGSis1CFmYRU5i/7szpyPFd4bTN96U2LYiFjVOCoGhEXIvUMnvIfDYPhUP05UcDdOLNeu+q9wHJoDDtjHmPcf15wpjLGah3slIRjq4I1lSy5+D5ZlhlIuCZ0dnmPMYIJ/TzOUXDdHkswwuDk/EQkiD0cU/W4SZNhIQ81MbdqrLjlIgKrB1YY+ncv+6Fb+kzcX/8Aygiy7bWFjOceKmlFViVLbZbQeZzct+/8F6cQjLRoFfKnxnuOtZMRIpd4w+TZ6AK61I92jdg2Kgn7rr64A== 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=OEdGLWdhqI61MOPyUAO2c487hn7srlrFIP9kXx5stbo=; b=rf2MBqe3FRr2IQJ+GH47LzA/J4ebgchBISlRhEsXFDmlr4viH8ct6mlBY1AoVJXuKEh2U266iDuJJvBbRS88aGvxLKoQLVlL7d8tYUhGpv642jwQK/NyCdbEOAxZd2c6qo/GzSbYvKBWyxeQnsm+mylVclmjIGG816qBXsvUOrKeLq6uo1oqlXD308EUeGix83AYxCIMtdnpq7+Bw6O59aVi0Vncft5SorVyVpB4J+f1pnV8xd4NG1SNMS2V9hz67FeM1wUdSBY4/HnKsWL7AWZOA4vV3k2BO4MNRfebb1EXTzLO+8AJ4VKj8ENR1W5GTdlf5/fLCzSDikftpuI6Kw== Received: from DM4PR12MB5039.namprd12.prod.outlook.com (2603:10b6:5:38a::18) by DM4PR12MB5247.namprd12.prod.outlook.com (2603:10b6:5:39b::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.15; Sun, 31 Oct 2021 08:44:41 +0000 Received: from DM4PR12MB5039.namprd12.prod.outlook.com ([fe80::f5f3:1b05:a7d5:f88e]) by DM4PR12MB5039.namprd12.prod.outlook.com ([fe80::f5f3:1b05:a7d5:f88e%6]) with mapi id 15.20.4649.018; Sun, 31 Oct 2021 08:44:41 +0000 From: Wisam Monther To: "Sean Zhang (Networking SW)" , NBU-Contact-Thomas Monjalon CC: "dev@dpdk.org" , Raslan Darawsheh Thread-Topic: [V3] app/flow-perf: add destination ports parameter Thread-Index: AQHXzIlFWS0cPXEMU0K4g0JNnEFSP6vszeVA Date: Sun, 31 Oct 2021 08:44:41 +0000 Message-ID: References: <20211012034238.386505-1-xiazhang@nvidia.com> <20211029055251.666699-1-xiazhang@nvidia.com> In-Reply-To: <20211029055251.666699-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: 4d7d7468-1df5-4f3d-fb6e-08d99c4aae68 x-ms-traffictypediagnostic: DM4PR12MB5247: x-ld-processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr 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: N9nrrbeDfh8FwPVgtwwHPZaoGhq3MNcOB0iiXecQl/Df0SiUGLLJocy1Dl1vG5QvLfrBjgV99yTlY+YdDAgHvaQHg7mNuo2TJq9yyqzS8rNrndfzkasGqvulUGif/SGgm7m6zyT+cmbz7d0oJIBhzXdjhiMHFjvSo0Oj2dQpVTvfwun1BB5OF6GJ2qN+FYP3IgmYwVUKHipfli3Rl8ZiwLMrH9/UGWEM//FYQnoSw1jllJjm6WQ2aUHIRKpz6vDR/7VZjZ9hhASuOmiKnzATgnSL0OG6wobjS4mlQqGPIkXWkkXBqvJSGIVxF3wpqoR2mUvGMkKbl1R0MuXIr5F9SKO2/CRzWutTCUh8OdIWE6L9HZ2HI8OYTQXPB2vrDQbC/e7nhqQoWyDywTTnymK1NsXF63hypUk7invtTl7bvmTk7PGxod7YXokC3GW0S3Ehh1fMhpHxJU5Ixulx5y05zbbaxSSn0BlwcA+6ywXXFgbVb7KsxifQCOITatwUfXWUt6xuGP1FOeBZU79JmspWYvGgP9mvQqisgyyY3Sx8gIxUZBE8ibju0H0GP87o9Ohmh1hUJl7AWUWuyi8OzKs90N8pEIIOBnBeYTSrOW5gmzDFsZ/YJJkaEkkBtTHcYr6eRh0uIaTv/n6uZofNIwBztiuXqlbMHGClJtBZOMhBO6j1oyxKjylr9LH2NYeHUIdCwDEOBljeCfkfojzS3Hw2mw== 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)(6506007)(508600001)(33656002)(66946007)(9686003)(66476007)(76116006)(66446008)(66556008)(64756008)(86362001)(8936002)(4326008)(7696005)(53546011)(71200400001)(55016002)(107886003)(54906003)(5660300002)(38070700005)(52536014)(316002)(83380400001)(8676002)(186003)(26005)(38100700002)(2906002)(122000001)(110136005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?U7k4LN0LFB+ifvUx+Ie29KHRFRtV7zZcEuMTDuA1eASxqs5dO2K/pZnzcbVd?= =?us-ascii?Q?OcUvJiFYNQVwBAQgtFh08paDOwmEHTDoBrWjNjMIoPGbOu82CrqYgGs+mxc2?= =?us-ascii?Q?sFDIH3fIKdDOHTV7rbLhpyH8aoh82cpXxKLA6rCPOyNVB3G09b8ROTlCOPub?= =?us-ascii?Q?U9QKG+HcGvvXCd+wdxuTRhI6MzRN8wMZ7OPASKSqkqjPlG9NFTxV5Wud7LYM?= =?us-ascii?Q?e0UswGZohdCxDxFPrLf0Amasg3CaB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ElfifWz/+PLUUEXZFo9OwOC8goDqbiOxYsdqseE5Wkw7Oy0NsRq?= =?us-ascii?Q?+WJCniWgCtGKqWvg1Lbl96FN509x+1++oaS/lZz6YbL1fNi7HEKe/qfxrdN5?= =?us-ascii?Q?31SY2pyDBOtQGKN18Wv3QfgTUTzcYWV9YWJj/oSjPtLEkYdkXcalIt6w2GfE?= =?us-ascii?Q?Jt6wkP8//K5gEh5DUQd9iEREjZx2hapDa6wTRb5sxRG7OSEqB5roBzRZFv7y?= =?us-ascii?Q?GdWzcvTNO5WeGTXEorpalmq2z/BAj1prwPAmHfKZ17Q8a4/nc/s5SCPpQr1S?= =?us-ascii?Q?Vjb7rMLWy50jsG96KeabsHuliH+Bzx+cMZtRMhFJvTDrp4Fvj3XfH7HQxSO7?= =?us-ascii?Q?ZgJuX2zOfQJSR8CcT+bBMbL4m2c+x1VXZIoHg/X52KQXsQeO/Xyc42603Zr7?= =?us-ascii?Q?iy7ZXaZdlLleOfzcfhCMPGpfGuA7xuyV8c5/05edFVQ2dt8XTuDltP1xUvaV?= =?us-ascii?Q?8w=3D=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: 4d7d7468-1df5-4f3d-fb6e-08d99c4aae68 X-MS-Exchange-CrossTenant-originalarrivaltime: 31 Oct 2021 08:44:41.6348 (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: GvjtBrZQm/6kighxi4++52UHyJUovh42o+rXVOfKHF7zy1t4kx5A7k9Pr/Sc3H2iOMTx7Z3NA6lpmONo7ELXuQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5247 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" Hi, > -----Original Message----- > From: Sean Zhang (Networking SW) > Sent: Friday, October 29, 2021 8:53 AM > To: NBU-Contact-Thomas Monjalon ; Wisam > Monther > Cc: dev@dpdk.org; Raslan Darawsheh > Subject: [V3] 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 > --- > v3: > resolve merging conflict > v2: > remove new added dst-ports parameter, reuse port-id with optional > parameter > --- Reviewed-by: Wisam Jaddo BRs, Wisam Jaddo