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 48DB0A034F; Thu, 1 Apr 2021 08:53:00 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C496240142; Thu, 1 Apr 2021 08:52:59 +0200 (CEST) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2074.outbound.protection.outlook.com [40.107.93.74]) by mails.dpdk.org (Postfix) with ESMTP id EC0644013F for ; Thu, 1 Apr 2021 08:52:57 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=la+nzaMSOSdhX63THdkuHVJNwI92k1vUspL68GGboHZKxD4K/9DjDRC4pbOPlFAQ8aH75xmCV19Pf0MOHS/Qc+wrPknIuBGqMwwVwKl4YDrhB92FEq5BXC94KsC4hLPXlfOphO0CQKNM9VdXpFalevDrQrjJHaEyEcPiHWn+g5f+qeSuospUuYOOstm0Qdvw4mLpsY+gkaxuOC8HQr8ZQHU3lI/wb8o+9QTNordqwOGExf/GErk9GE8nOhYsLkiP5+vcZq7pXEJueqAsQjZxldb5T7zqu05QR5AI3iG5akg1+BF2rZB68a/VccSrxNwtN0tP5L7Tlr50mWXk3E6FbA== 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-SenderADCheck; bh=8jtPjCCpupCMPF6PxTxuZDjDH+nCogpX2+OgYa5oJnQ=; b=PPnuRYywvmTMN/EZ1HNTXolRISYwVIVjRwNJho2Va1o6hLHktHAzndoBwUJkvDIVyUJLeJZ63S8GgDcWGzW3vdjTUf69s4v5jCgdgs2MI7W3TIy+yJW/27Zd1LWBhM18gFEC+BTHPiYT/RfSqcElIYMzhgT552yNum4j4pb+yQM3Gso3TUh9UDIEv64QGv0u3XzUvKFOfmrs/zrBO++H0uYL9utK3L2DlqwlnfPv+74Nbfxe1xiwzmbf6FyZPMzg0ul+uSseX7M3kzC60lFBsrJtlMIs0mApdE20lx+aHve0eNQBl/mNfuv7GipeCdhi07rVbkuEFXjd/NluvPKmoQ== 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=8jtPjCCpupCMPF6PxTxuZDjDH+nCogpX2+OgYa5oJnQ=; b=RstjgB3nHofU+p+Up1r27ZNB1ZvByYbhz6HDMCXr4FksRxPT7x9783Id+khNYQEFovh7vorTRiUnFwkGIMcugqHfYAuJRqSPnGzgtXE/QzLFssOU+ftMKxIizqIlCSMk9V2xbX1SoG47dxFyAvnwEuCTDluPOCZ07oSG2ujAsBI8r/MxSpBarxgbN/Htdr+GVkIL/SYpPJ29WnW6IT6vQXqrlbsWyzRhGd7uTd7VVCtNcHDdfuhAEDnb9TxKdkSUM62RPnH8CzbSypE096JXhIyqARkRJXbhyXyvCTwQe6GDQxF5aiQMy340l08TymHnOS5lbzx1yEJEQqHY9/BFTA== Received: from DM6PR12MB4090.namprd12.prod.outlook.com (2603:10b6:5:217::11) by DM6PR12MB4329.namprd12.prod.outlook.com (2603:10b6:5:211::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3999.27; Thu, 1 Apr 2021 06:52:56 +0000 Received: from DM6PR12MB4090.namprd12.prod.outlook.com ([fe80::fd19:da7e:347b:87da]) by DM6PR12MB4090.namprd12.prod.outlook.com ([fe80::fd19:da7e:347b:87da%4]) with mapi id 15.20.3999.028; Thu, 1 Apr 2021 06:52:56 +0000 From: Li Zhang To: NBU-Contact-Thomas Monjalon CC: Ori Kam , Slava Ovsiienko , Matan Azrad , "cristian.dumitrescu@intel.com" , "lironh@marvell.com" , "dev@dpdk.org" , Raslan Darawsheh , Roni Bar Yanai Thread-Topic: [PATCH 0/2] Check meter packet mode in PMD Thread-Index: AQHXJsCeQdSKGwereESwAg4GmKKbw6qfOM3w Date: Thu, 1 Apr 2021 06:52:56 +0000 Message-ID: References: <20210401061618.1478961-1-lizh@nvidia.com> <40266646.2hgBqQEIht@thomas> In-Reply-To: <40266646.2hgBqQEIht@thomas> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: monjalon.net; dkim=none (message not signed) header.d=none;monjalon.net; dmarc=none action=none header.from=nvidia.com; x-originating-ip: [139.227.253.12] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: e2cb38ed-f7a0-4535-449d-08d8f4dac7b8 x-ms-traffictypediagnostic: DM6PR12MB4329: 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:8273; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: KGaEZpxR0l8bNmlnDMib7BMlaEeFuA7FOnBIv6WGJTFkz2iivzAbe2c77u9ajfFgrS0sbpvz1qWfK2JfEJDfrGStX/QMFt24f2qzRpbGV4ENgLzJIES8+S77fem6WohMEAhSkRbKqdwgkwkgokLtS87bLtrT0dbHRbdhKBI62Di42sRC/0TsBySU1FW8fov++guelzIGQDBapY4XrJfG0GKQN43w7QTOEZrgGv1jL82KSFf6vndeKPwSuIa+ANtLRTzVoXY36PGV8ZBpPgn9A9yR0hpkZJklOPMubSVy/jrI6+K7RepzX7HXRtFSfWF//aMDE2M5jRGuqi4p3Y+dMkUAChxFbavU7hjtYyrjmEHNPLTks3nhHEDw7ksLThMEsm7mhJZbEoQVmn0+3zWvX30fiul/YTYrHFCznoy2cOMo5rTPFejeNCcx47vpj4UFQCk+bneS1SBD55UQ/WaYQ+0IL0LAzv9+4EYSEaWMGTlxGmAdzavftMmUADIU7QWNSKH/NGPn97UAPI5UTIQtQrXItmzMjK0VQAi2nX4HsplM0v+IZ0p+VqvySZ4nt/OYxPbQoGwd6BVZiZ0gUg4iby8zUpQpJJbGId0b48L52BF+sPn0yQw5e3MBf7tYqn9VQfyXWzAOtpY0sUhKhnUry39GcNE5rM+e2Je6JTin3PpW3qrbA+0XZ0pzLl498Y+aTyiAO7slOW7oXR92IJjhfuENer7kmkoRgesEFCg/50o= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR12MB4090.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(136003)(39860400002)(346002)(376002)(396003)(366004)(86362001)(76116006)(64756008)(38100700001)(107886003)(66556008)(9686003)(66946007)(8936002)(45080400002)(71200400001)(55016002)(6916009)(5660300002)(53546011)(8676002)(966005)(6506007)(316002)(7696005)(2906002)(478600001)(4326008)(83380400001)(26005)(66476007)(186003)(33656002)(66446008)(54906003)(52536014); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?ZvLt8QDDmwcSjcS1Nm2awgDlk6Hpy7UpR3I8VLlp2ZOH9IH+3GY+YIFf98LE?= =?us-ascii?Q?rg/zznUFe0wdF2UgHqpgGDMdZpS3BAmmlsNDyeW9egJAVE+lzdLbZBleYwEA?= =?us-ascii?Q?CtgvpuV6sam1ncQKg6Qk0M789lAIs0lyLyqnsWtgYb+SuhqyZdfcKWSq0uR0?= =?us-ascii?Q?wGmHL8KEyKq+QRhvdYvmhSCDn+GI4c64ws/aEitFUkCO98StlnV0L88aEdey?= =?us-ascii?Q?ZcJGVolJWJZwE7NO67HEdmBDYYYbAIBWkvTdAUkgtKcysBcVQayojTVZZc8T?= =?us-ascii?Q?kLW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bEvQu9H4VKwX?= =?us-ascii?Q?TVPQFjQuubbeBQCfseQrj9fEkyeMZieFXVoeTkpaULBWXHozEH0T4qxD0d6D?= =?us-ascii?Q?RhXba7JDdB392UOsLa4yS2jVBOz2BwP0YMpWw1ivGaWPcZHSDwxg7AASRWlA?= =?us-ascii?Q?7bKD2x1SB0mvkd97P7UOH670?= 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: DM6PR12MB4090.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: e2cb38ed-f7a0-4535-449d-08d8f4dac7b8 X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Apr 2021 06:52:56.2072 (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: dPhx5jLl0XS3qSVYpPb8IUpMf9m/JYi9VryR1HY7pOS83OKbCnEol66ujKj9B3EZ X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB4329 Subject: Re: [dpdk-dev] [PATCH 0/2] Check meter packet mode in PMD 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 Thomas, > -----Original Message----- > From: Thomas Monjalon > Sent: Thursday, April 1, 2021 2:31 PM > To: Li Zhang > Cc: Ori Kam ; Slava Ovsiienko ; > Matan Azrad ; cristian.dumitrescu@intel.com; > lironh@marvell.com; dev@dpdk.org; Raslan Darawsheh > ; Roni Bar Yanai > Subject: Re: [PATCH 0/2] Check meter packet mode in PMD >=20 > External email: Use caution opening links or attachments >=20 >=20 > 01/04/2021 08:16, Li Zhang: > > Currently meter algorithms only supports rate is bytes per second(BPS). > > Add packet_mode flag in meter profile parameters data structure in RTE. >=20 > What means RTE? > I see no flag added in these patches. It is RTE API, which added by another patch as below: Depends-on: series=3D16002 ("Support PPS(packet per second) on meter") https://patchwork.dpdk.org/project/dpdk/patch/20210331085405.1445546-2-lizh= @nvidia.com/ > > Add the necessary checks to the existing drivers implementing the > > rte_mtr API to makes sure that profiles with packet_mode set to TRUE > > are rejected. > > > > Depends-on: series=3D16002 ("Support PPS(packet per second) on meter") > > https://nam11.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fpat= c > > > hwork.dpdk.org%2Fproject%2Fdpdk%2Flist%2F%3Fseries%3D16002&dat > a=3D04 > > %7C01%7Clizh%40nvidia.com%7C6fc22a58772641cbf72608d8f4d7bf75%7C4 > 3083d1 > > > 5727340c1b7db39efd9ccc17a%7C0%7C0%7C637528554762610316%7CUnkno > wn%7CTWF > > > pbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVC > I6M > > > n0%3D%7C1000&sdata=3DVZ88lQoAZK3z7MODRycvja4YvpEcjC4apoZZy4p1 > ZP4%3D& > > amp;reserved=3D0 >=20 > It seems these patches should be part of the above patchset. >=20 > > Li Zhang (2): > > net/softnic: check meter packet mode > > net/mvpp2: check meter packet mode >=20 >=20