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 225F8A0524; Tue, 13 Apr 2021 04:57:54 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 909461609A5; Tue, 13 Apr 2021 04:57:53 +0200 (CEST) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2076.outbound.protection.outlook.com [40.107.236.76]) by mails.dpdk.org (Postfix) with ESMTP id 86CCE16099D for ; Tue, 13 Apr 2021 04:57:52 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ApEYKzoroz8QRUW3eNw+ruNsctMXxuNulGM4EgJ3KdbB8j8ivLJGxm9wI87TsJxKU4LiaDBHeIP8OEftcACn6B4lFMIZ2YVxrYFZtAVKuO22shJG6MhWj6RRkjsdSDxHJ1feSnSDcAZLzXlqdW342BFWjbagY0I0y60SYaVcRCfyrdFndc/fhNFOWMJLU7GBFhQ+SNfKbjcviZJ5MV45vvLSXXG7rHm9fwATjdQ/4dycwimL1yBRTDOy0sVFa59/kHU1X7DbGrIrrMZ3eTA2IxphBzccpspY6YsvHDLQuTInb86WvTYh9pn1E4dFfx7JDcryRFfai8ZAzQxUbyfshg== 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=ruisTMINKbuQwsz4sWQiCxqVfZPhRPG9CToosmyUGXM=; b=gKQpem0U1zNZQ1Wvj2znIzcMDLeEvqefpwi6qLP4iGC9yxpTAtwb4h2YTD6s6/WRtK9SXzJFoY3oZ6B/rQ1JfX44rseYZt0tnuDVrGdXETTrtoBvj0+f2eG4129f8ta1vVylx4uouwnsa9q1lEohYDv2dT5q4DK2gxfkUHGBCw89uqXiy3BfPbOeHnNIWKouUAM/LVdqguQZEvGzgLp9ZbRLwfCIxcK8LLPeGzqRZ2e7ocrQNVgO/WQP8BA2I+qkSF+lNDKckBsZU1qCo4PmcIbG8TlMlOJZTzWUUY9zBOShQhCRjuKSGXoe0iid2C+Cf8L1TAN4uzVz/GGvcVOiQw== 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=ruisTMINKbuQwsz4sWQiCxqVfZPhRPG9CToosmyUGXM=; b=fxDmRh/aTJMXELvEloLtGNjW51OVfpPWU8SnuwHd9R2LvT0L+rRguClY56T6GC8iY29XG16aYTcaPCvZT36WSp+Tj+h2Qj8rXlny0w30QIoVSTN/H90dtC64FEtDMA+k9/wBNS1lyruMrRfRO+L+NAq+wsZFnRLHN50j+AAb/XedMynl3C1kKm6YS9DVa75rI+zk6hj0c9EjSNza4Nn999lzq4KpzQqghQit3P8dWxFLXNQX03XmwOy26vTkgg1/5gMnVh0wuuFkcLiRClwvmhPrOwagZtD7J6JIP8y4QyFOFb8MZ8et5Ri9IUS87rgApEOUA6Iksi7KzDo9XZc25A== Received: from DM6PR12MB4090.namprd12.prod.outlook.com (2603:10b6:5:217::11) by DM5PR12MB1705.namprd12.prod.outlook.com (2603:10b6:3:10c::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4020.16; Tue, 13 Apr 2021 02:57:49 +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.4020.022; Tue, 13 Apr 2021 02:57:49 +0000 From: Li Zhang To: Ferruh Yigit , "dekelp@nvidia.com" , Ori Kam , Slava Ovsiienko , Matan Azrad , Shahaf Shuler , "cristian.dumitrescu@intel.com" , "lironh@marvell.com" , Xiaoyun Li CC: "dev@dpdk.org" , NBU-Contact-Thomas Monjalon , Raslan Darawsheh , Roni Bar Yanai Thread-Topic: [dpdk-dev] [PATCH v3 2/4] app/testpmd: add meter profile packet mode option Thread-Index: AQHXLdqgLaU7YfTRDkebp3MO/MrGKqqxkb+AgAAz6aA= Date: Tue, 13 Apr 2021 02:57:48 +0000 Message-ID: References: <20210408035849.1755493-1-lizh@nvidia.com> <20210410072445.1872769-1-lizh@nvidia.com> <20210410072445.1872769-3-lizh@nvidia.com> <98d9131c-e554-dba9-6d5d-d4d735212581@intel.com> In-Reply-To: <98d9131c-e554-dba9-6d5d-d4d735212581@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; 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: de8dc29e-df81-4b18-f43a-08d8fe27ec17 x-ms-traffictypediagnostic: DM5PR12MB1705: 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:2582; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: SHTq6vY1ZRg2irCpMt0uSd7P0IFxTQHtmN06kjbSn7gjRu7Hh7QVRGghKoqD3TDk2OmRMg9OVmt24MyhJCLkhJaBhUWns1NoMNmsnEAr7BDrdW4BoCVt+jZYebRqwU1PXwW6oSbrXdRbqfu1w6j4ZQFjceog2nKCsqJSxVEWozAT4/fCXY4LPu9Fcuwo10kJGFf6UDbXnntJnxamJ0bKjGjplG+iJt9m1q25q/mxuON0tI9ns9ZxPEyZJXtN6I3XIy3sDkbUWM5qdAgzJzJBnfjf96eNLsaJ1ki1quNZ+oeobb2ZmLExY9VXzuTwK3mXmTrzTnal538hjo1RuwcCfD8/4cNGXjbANfcbLB6ZgZqGmIrnWoGDCsC4g7P2gPIE47y/3G39u6kTmJEz/Ukb4ujA9aXcnsyjKFeASySqMQGL5XXTgpN5tBF8tMW+6sZbgvCE0oN7Q5jddthBWi95Ysay5xY0j+AdGPv6PSEyiTmH1hBdRD/xMqfpOMTp/InP64/bCNTe6PIqnjP/w1MrCxCJbJ+Uk5O3piQ6cUpamBBVYdMVBlGXruiLjUcpSUntrjifuxz0SJX2pxX7v6bbSZlespttdc/09H32Pk26Cus= 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)(396003)(366004)(136003)(376002)(346002)(39860400002)(478600001)(66476007)(316002)(8676002)(8936002)(110136005)(33656002)(55016002)(122000001)(38100700002)(66946007)(76116006)(86362001)(52536014)(9686003)(107886003)(26005)(66446008)(64756008)(71200400001)(83380400001)(4326008)(7696005)(66556008)(2906002)(6506007)(5660300002)(186003)(54906003)(53546011); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?utf-8?B?YVFBWnlxWVlCRVNXeS9EYlZKd1JGS09FZFlDNzZ5dHlUNEkrQzlBRnljaTlC?= =?utf-8?B?Vit5T3lmb3NtWHFQNHpQM3NjUHdibGNyWkZydGdLSy90YzlBMjFRWE9nSDQx?= =?utf-8?B?V09FV3VSRXgxZ3ZWbklkRklCdlJzN09vNHBFSzd3eEdJc2FWd0I0Z21HYklX?= =?utf-8?B?ekVmMFlxWXZNWVpWQlkvS3B0YWY0am9vWlhNVlVlOStKMzVhVE9MK0RRSEFu?= =?utf-8?B?TFRyLzduUjNFNmEzUUpUbXhZaTZLMXlaWVlrN2ZVUHhFTW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aTFSWUt0all3RkhtS1BZQzBGZzl2?= =?utf-8?B?d2xGOWkyUC83cFBhVTlxaEFCWDBQd2lDTDJ0b1hRWFM2RHhhUnBHYmlOWHFB?= =?utf-8?B?eDNlQW5BUnZUVndKdUJuWWoyU2JtMmlla0JBQTlZTzZPdTB2bnlaUzBmMEQv?= =?utf-8?B?bmpVbENyaG5raFNSN0QvS2wxOHFiVkJBbjB6enNwdUFxU3pESkpGUGlVamNG?= =?utf-8?B?TWtkSnowNUtiTDRVdStXVVgyNm5pUzl0T3FpTFEvTVk4eWUxeGtqNGR5N0NB?= =?utf-8?B?c056Y0trYXJEWi9SMnQ3a2F0dGhwVFM2RThqbmVUNnR6b3NBVEM3emo5TzVZ?= =?utf-8?B?SnlPWkhqbmRYK2N0c2ZQemxDSzlvd0Q2QVVYb2xHdGd5eUlaV3ZNL0M2NDN4?= =?utf-8?B?dEplcU1QS3doZnlpUGlUd25RSU1wMEtXMjMrY3F2SGNsU0h4Sjc4cXVGMGVG?= =?utf-8?B?bXQzdjZhdUlSc3ExdGZVeTRva2REYm5aSVVMUUkrczdDSjVWS0psdFA5akt4?= =?utf-8?B?SmY2Z3NrU3VpdkUvMU9hNVlMTjhKRW1wQ1VoN1RrRnFmS2l2ekxxMWMxNW5P?= =?utf-8?Q?3P5SRVAZ95IzgYpVErhs+vnioVbGsbPdTizjdjT?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 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: de8dc29e-df81-4b18-f43a-08d8fe27ec17 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Apr 2021 02:57:48.8917 (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: f7yxCyH758mEwBb4Rsk53KNEevrMNjYbiMwVjM81BvvCzMq1VuGey4GKkOd35gsQ X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR12MB1705 Subject: Re: [dpdk-dev] [PATCH v3 2/4] app/testpmd: add meter profile packet mode option 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" SGkgRmVycnVoLA0KDQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IEZlcnJ1 aCBZaWdpdCA8ZmVycnVoLnlpZ2l0QGludGVsLmNvbT4NCj4gU2VudDogVHVlc2RheSwgQXByaWwg MTMsIDIwMjEgNzo1MSBBTQ0KPiBUbzogTGkgWmhhbmcgPGxpemhAbnZpZGlhLmNvbT47IGRla2Vs cEBudmlkaWEuY29tOyBPcmkgS2FtDQo+IDxvcmlrYUBudmlkaWEuY29tPjsgU2xhdmEgT3ZzaWll bmtvIDx2aWFjaGVzbGF2b0BudmlkaWEuY29tPjsgTWF0YW4NCj4gQXpyYWQgPG1hdGFuQG52aWRp YS5jb20+OyBTaGFoYWYgU2h1bGVyIDxzaGFoYWZzQG52aWRpYS5jb20+Ow0KPiBjcmlzdGlhbi5k dW1pdHJlc2N1QGludGVsLmNvbTsgbGlyb25oQG1hcnZlbGwuY29tOyBYaWFveXVuIExpDQo+IDx4 aWFveXVuLmxpQGludGVsLmNvbT4NCj4gQ2M6IGRldkBkcGRrLm9yZzsgTkJVLUNvbnRhY3QtVGhv bWFzIE1vbmphbG9uIDx0aG9tYXNAbW9uamFsb24ubmV0PjsNCj4gUmFzbGFuIERhcmF3c2hlaCA8 cmFzbGFuZEBudmlkaWEuY29tPjsgUm9uaSBCYXIgWWFuYWkNCj4gPHJvbmliYUBudm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