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 0A0F0A0C47; Tue, 12 Oct 2021 09:53:04 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8BAC040151; Tue, 12 Oct 2021 09:53:04 +0200 (CEST) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2045.outbound.protection.outlook.com [40.107.244.45]) by mails.dpdk.org (Postfix) with ESMTP id D40C640150 for ; Tue, 12 Oct 2021 09:53:02 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QqYJQE2nIIrTSUxTFBQeqlCDhJ2POLxG0SduDvN/rPPUDmDoBvRn2OBmdGsE7czUSZ69OTskvSw1ZJDpMptxwsY/pvzgQHxTX4Ryb6po8/OHB4v53yIHtoBVvgBy3Df0DAIdixwd7Jf5GLfGhd/iSCaZ8by+vG313I27jOPQC6BYinQUKxCci432iadgabRFbOSyrX4QI5+1GD+D/rzSwkPKCIhtoECHiiqApnKIDFcRT2So8Zfead8P8Y9ttup15Zl5tVfLqqWl9jji1J3qZqq/rRoW1N76fN87/b04eneYrTrW+vjx4rYkxmcBD7pidWi6fvKlVoI1iUsWW2Vrgw== 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=PrxOEFF6pcmX4YsQLjGdZvKseSl7Pjj/MgCGwst2b2s=; b=EnNvn8Bd7onZ8Ctbxi2jwKccvAfUlpeLXLA0NGln8mHCXExmPCaGp9JqWiL2xPORlN0L7IHvN/c8LQjztcoldHUiN5cFkewBGNSgwGau6KRQp38aQ0dFHRNUw2Hhy5DQxZuf9XOYWb946vQCl68dJCt1ytCvRo6mW1bvKVgdq+e/7EG2vQXXUgIitQieSkknJaby0l1tsG2tlGIxISMczre9isSmWGxkXuYS1ymAejb1rRHanlgJ/j+UgqxPnNuHJg/w1k8ChRI8peq/tZDAx+oNXsjWvTZwPm0YOGmcZQ64TWFVkfmjdN7jPGK4RfxVzc9wbzztPkjl025ca1yzEQ== 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=PrxOEFF6pcmX4YsQLjGdZvKseSl7Pjj/MgCGwst2b2s=; b=OsnxpYk5VN71u/Wipi/f2X5RXtK9gMdbnv6rSV3CHBKXU6dmnUFN205Pb/8TnpW9kHBIcVD2u6GEY42RB9BWsU5orcs2F+AoSvTank+hCuGqyv/oSspl2MAagFcH6BvS4vq1I1QayU8vqqID/ps+rGki0wd3RECJ/MmSdZZKORJbbMxdons5qI0EwB4wvi8f0pSuY2khA9PwT5gtDCDILu/ITHxuP5aLH33ncPfVnMaqToG2VL4jBwqQnAnh/y0pUX0I0pxLuxFdjG7U4orPw0iIiEeA2AoW6RRSbAQTkb2SmvrQOdOiNyvGozUIaAzOjqAVtx4zhd/uBbRSDRXfiw== Received: from DM4PR12MB5039.namprd12.prod.outlook.com (2603:10b6:5:38a::18) by DM4PR12MB5071.namprd12.prod.outlook.com (2603:10b6:5:38a::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.19; Tue, 12 Oct 2021 07:53:01 +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:53:01 +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/0EKuG9jzm9OrDavO/dFQ Date: Tue, 12 Oct 2021 07:53:01 +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: 57b9ddb0-df8c-4af7-ca57-08d98d5550a4 x-ms-traffictypediagnostic: DM4PR12MB5071: 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:4303; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: qaoczf9vRv3lNTBSdZU6PMmXgS/8oJWI0okshfm1o0Luq0AoFKCVn4tq//JG1KMbUkFaTRt4/CQhpJu5GTU/W3xPQicpIyiRpH05p8psP4ojMuLRuJusIws+ywL6XShBPFnJ2eHmtemk4wlknMnFtNwgJyWNIoJRl3CaoGlKbAglYrCjcQHTudHH7ceVd9NF/rIheTb0ffhm52cjJK5gjks19a9BCBECT54BT2rRQMLlPpZEZWyZrj+Lqaiu5nJ5jsgpTlzKYvR5zFVq1zZ79H9WkkJ/pjIUtV6NJG5PYO7bXAy9ByMEzAM7OWLyEJ625AbgFCEjF2ekH6PKZ5dAGRepvcGwj/E8kGjmEtRR8nzVMHWCgBxGluAw99rqe+0irDRgMeOupbQB3emBkEHLj9AHrHZbhF2dBgVdfEboYmylibalzGnGKPwRO7TJ+ZxMEkkEA9JSmK0iNSiI/19buHIeIRQD/zU9aK+0aQSRPZBuGThdE+auaMqBpiNf8eEXWNx2QXo1RDdKdlDQgqtZ4F+3cJ+TOJv4zw/UtFadnpEkBw0q8psUVhIn2XjauvGYKNU4gNGHMOWX6tsw2b8nPsrURGXTeofs60WnC61BUQzOxMVK5Tl0qGTBgRA6f5Pru6eQI2C7zgMtTdCRi0NXRqzlQXcwtYwkSmbz/mBN1SlCQRL8CLFYqe+i00k+uWYMkRYy+JmoGC6GyxUMnK6Ixg== 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)(66476007)(110136005)(9686003)(4326008)(55016002)(52536014)(107886003)(26005)(33656002)(54906003)(38070700005)(38100700002)(8936002)(5660300002)(122000001)(186003)(508600001)(66556008)(316002)(66446008)(66946007)(8676002)(83380400001)(2906002)(71200400001)(76116006)(53546011)(64756008)(86362001)(7696005)(6506007); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?fQDsBy5nQssndKC2R9RHuNm+X8If7Ou6iMr7k5l9NJsSTDk12BGQB6LawyoK?= =?us-ascii?Q?K7ZJzolohZoCw8ogowX1r+H1e83Ma6oiZPFLWkEkQflIczZnm/AyOIaMHF6F?= =?us-ascii?Q?VWjkqavwPHy4Hy4FAgS5NDKRo046lkq6JDT9OeIrfclQ0inpkWF6oxukbLwR?= =?us-ascii?Q?38mcX36Qng0Zi+yAXYwXaULTW2Nhxku/3D0i7wEa/8lRQn9mnEKAjWBNgDb7?= =?us-ascii?Q?/SsGgt6R1a57CZWQOTnszPtXMHNXPjh/Ezw1mTSs4f0jfk2s+1MLYWBqT97b?= =?us-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jNY+CL6Q3YiZu1P?= =?us-ascii?Q?EDl2VMgmgt50dKManrbmF1NzdDzt8zk/5sLVPr3WGcHZrJq8CeaGO+ofgL7U?= =?us-ascii?Q?XJXAg9dCL7SD3eaxUWbl68zcHBta54sdqVgYpbf+N5Pxbwkq/9u8Cu3pYSIi?= =?us-ascii?Q?FCBdXj8slS+dP5Ggq5TRiBqx?= 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: 57b9ddb0-df8c-4af7-ca57-08d98d5550a4 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Oct 2021 07:53:01.3393 (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: 4L+KsxZ1BcxI0QmFxoYWfFYIBHR6gHB0f3lJVX0N3Ua7FIWrav94KVjQ9ROv8YFUy0aJiN+ldBLYJ+lL4IScnw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5071 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 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? BRs, Wisam Jaddo