From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6F52AA04B5; Wed, 23 Sep 2020 04:39:10 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 30D001DC7C; Wed, 23 Sep 2020 04:39:09 +0200 (CEST) Received: from hqnvemgate24.nvidia.com (hqnvemgate24.nvidia.com [216.228.121.143]) by dpdk.org (Postfix) with ESMTP id 74C3D1DC2A for ; Wed, 23 Sep 2020 04:39:07 +0200 (CEST) Received: from hqmail.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate24.nvidia.com (using TLS: TLSv1.2, AES256-SHA) id ; Tue, 22 Sep 2020 19:37:32 -0700 Received: from HQMAIL111.nvidia.com (172.20.187.18) by HQMAIL111.nvidia.com (172.20.187.18) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 23 Sep 2020 02:39:06 +0000 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.102) by HQMAIL111.nvidia.com (172.20.187.18) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Wed, 23 Sep 2020 02:39:06 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ib9U/GYHqPEe2gpfWtq2gR7PJyVz9QjphOY7hvPZKl30s5ISEayfeHqHkciONCiQuSoNlEcE5RhIDSCPsNULu3LOttzouBjHetbyx3g3/Q5bIVDQaXeS32w2IWd9lNjoyROME0evI1xAhBLBWrWdq8Zvdkz2mmWIAvV+p/GqOrCobe0eszMtpqGxjrVrIcbbfnpxr8PIzTybvKS5/zVo0qw0NQGiKHOtUlQpwoj5g0BXw+edzNswnFTWxMoISYAJWqaM4ZuzPZyk5JuDJEX4wh4SK8kPhxiam+u9xL1G9yetfwKR4lymW5Bhyd2fcbiBVDS4HihT3iEOoU98CATESw== 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=8JmiKa6cRiwg+vzZjc64IvVagXP4npjGoN5t7RKQ090=; b=Jc9BcVZZct6n4d46uSq/tVYh9tHDCg7AEi91vnzNTMZU8QkjlR2Mc8BfeM2N3YhcD7df4dYDmuwqkK0/Z07gDXYlHZBLZAXPLVS6Yapqts4LfIecYCEtbBwz/o9dMLrVNb8P8Z4rxLlrh7ZiQhvQvqgshgDISijPtPzPeDJUxQHhPqb40Kgp1IKUoWKetoOU7Lp3pXmOHwmbzXnJhJ+oDmJIj+j7xE/+Kv/aLuv83F8Q1XM9dvVAirjh00WpvRZ5NqAgf7j0TcpkaFvFUTpc9bVu8Q9gyGu7cm9QllvoiZw0PLiHwyPM+N9fhUoo4r0i03zrMVNqUZCoza3cTU9vZQ== 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 Received: from DM6PR12MB4090.namprd12.prod.outlook.com (2603:10b6:5:217::11) by DM5PR1201MB0044.namprd12.prod.outlook.com (2603:10b6:4:54::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3391.11; Wed, 23 Sep 2020 02:39:04 +0000 Received: from DM6PR12MB4090.namprd12.prod.outlook.com ([fe80::8c42:6852:1b18:13ad]) by DM6PR12MB4090.namprd12.prod.outlook.com ([fe80::8c42:6852:1b18:13ad%6]) with mapi id 15.20.3391.024; Wed, 23 Sep 2020 02:39:04 +0000 From: Li Zhang To: Ferruh Yigit , Dekel Peled , Ori Kam , Slava Ovsiienko , "Matan Azrad" CC: "dev@dpdk.org" , NBU-Contact-Thomas Monjalon , Raslan Darawsheh Thread-Topic: [dpdk-dev] [RFC v2 1/1] app/testpmd: distinguish ICMP identifier fields in packet Thread-Index: AQHWhlorSC7YLcURNEusqGJRcWfNmal04A+AgACsQLA= Date: Wed, 23 Sep 2020 02:39:04 +0000 Message-ID: References: <20200908100636.4575-1-lizh@nvidia.com> <20200909033434.31059-1-lizh@nvidia.com> <3def4458-0cb1-835e-1006-463ce4878361@intel.com> In-Reply-To: <3def4458-0cb1-835e-1006-463ce4878361@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: [198.13.32.127] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 2ec80da6-0c7f-4998-8a16-08d85f69d683 x-ms-traffictypediagnostic: DM5PR1201MB0044: 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:4502; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: msqrzV1uo354f98M0TIt3D3LbB2h5Is73gPBbCP0SnZIfazTkPYGffWIxA3pQJZcZkY4AdB08HrEkKh9hZ8WFBJ/7BdzOqinLyelxrHDlRHJ2sCtouhcDSB5hYbB8wwcRkKH+kRS67iyqgTRj/6Goevz6X2bCo6CnPMiYKPE/q7YvsxkYRDbnTrv7VEyjZE4G58WrhzNJ0WucS3MOzXTwBjWTdjGuvLI7KkgT+wOQ4ZnpTQiBQV7dOTa1ezMiD/e0CS3riH3MJKB/ONLVazWlCIfBe28YkNhh24hVoKLDtHTaJkZyqo484HQ1Z9ZCvXj7KyRjbEl0ObBk9umBPiiJ+9g03SSf1O2YHIwqV6EgDf2JAABo1jBXmWy2HprZO9/OTf0XTkt94Lw6rI1jxPngw== 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)(366004)(39850400004)(376002)(136003)(346002)(396003)(4326008)(8936002)(53546011)(52536014)(83380400001)(2906002)(9686003)(966005)(6506007)(8676002)(33656002)(110136005)(54906003)(66476007)(107886003)(55016002)(186003)(316002)(86362001)(478600001)(66446008)(71200400001)(26005)(76116006)(7696005)(64756008)(66556008)(6636002)(5660300002)(66946007); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: dS8ZKyySFh5mo0aDX9CqEqVaqSxqdZwLCKWa/UanXhVzvTSDisem9IVxXvr+LkURVvIeUj489FSmRtrTmWQcH+C7JuHft2DPRRBEXvrwtV0hlP4w0iuX38wRY48DuJKDYzaGIikoSQQXp1R6trfmmRFQOkZH8T0mh+G4SKqOOgi+u1xir8SfTrvNCVd6BcpUpspsA4LIOF2cwzpNJg7n6RSMzw6An2X8Wh6iQqHOekBmTSFhACGiwTxJWyMEhOsRZVwhx+7WQvg21YFokTEr/qgkI9Fb9meXewlRTAFSYW7EzDI3BG+RjG0cijus6meU9meyXZ2kwoyK81kVBaPiLGxe/fdzzT+W/x0SGv1UPPifTFlrkY1C96xzD1C7ljZz3gBe4JYUPFxirNltKxNiJ45iOu+euOSYq6dd36ZeVelGEqqaSYkpYYvrfYzKRZIGS72IYf3rzoGnBv0QFo/rwmXhhjdr1S/AlOGg3qEmoQABgoewtuEmfX6PjYWmNTTuvUTDOa/tJJgTcbzUJNUCaSNaMP9ec+R1LtnQYmHjbE9HGU8pwMHGQEuxLag55/6ttFIdoxRrE1bOg3WDf0uxJvzBDgtLQeMjjpPrBP/gW5w86BNVMRBG5rLAsiSt7cws/fs8QtFhTmZDbRf0OB8reQ== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR12MB4090.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2ec80da6-0c7f-4998-8a16-08d85f69d683 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Sep 2020 02:39:04.6641 (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: /FY/UD12vantIjx5bg8ZPcRHL874Tgi5DE2bWudwlCFi4kahsDTp2ES2SV4C1TSn X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR1201MB0044 X-OriginatorOrg: Nvidia.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1600828652; bh=8JmiKa6cRiwg+vzZjc64IvVagXP4npjGoN5t7RKQ090=; h=ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:From:To: CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:References: In-Reply-To:Accept-Language:Content-Language:X-MS-Has-Attach: X-MS-TNEF-Correlator:authentication-results:x-originating-ip: x-ms-publictraffictype:x-ms-office365-filtering-correlation-id: x-ms-traffictypediagnostic:x-ld-processed: x-ms-exchange-transport-forked:x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers:x-ms-exchange-senderadcheck: x-microsoft-antispam:x-microsoft-antispam-message-info: x-forefront-antispam-report:x-ms-exchange-antispam-messagedata: Content-Type:Content-Transfer-Encoding:MIME-Version: X-MS-Exchange-CrossTenant-AuthAs: X-MS-Exchange-CrossTenant-AuthSource: X-MS-Exchange-CrossTenant-Network-Message-Id: X-MS-Exchange-CrossTenant-originalarrivaltime: X-MS-Exchange-CrossTenant-fromentityheader: X-MS-Exchange-CrossTenant-id:X-MS-Exchange-CrossTenant-mailboxtype: X-MS-Exchange-CrossTenant-userprincipalname: X-MS-Exchange-Transport-CrossTenantHeadersStamped:X-OriginatorOrg; b=gddQmpunAMndkhg6hLqobcouusvqSXQcKczz6j6z5EzyacqdZE5Q49W8Pgta2sBDb Jcz4UDE7oC3b7DMFc54aUiRmnLBSNoHZ4xcT5DN06otuf4Ue8RykVYG459nEEtBuHd vqgD675yPQC6exC1BvcmykQVVZ7uww1OTOBFc9zotalPercBIY5bjUshIb9qdBp8Vl vsdJ3LvmEcEXalNnotWnVXeI9y2JwkLspk+FJG0TtZ5RgPkaxZVIojD7EgZ0FUNIiw wSqnzFJJ1RrdVsbQFG5OXrZao9jRM/wQ0+z20bfq8Tai+oNaZ2tSMWpQf1Crx3SmH3 qgDGJbOl5KeDw== Subject: Re: [dpdk-dev] [RFC v2 1/1] app/testpmd: distinguish ICMP identifier fields in packet X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" WWVzLCBUaGVyZSBpcyBQTUQgY29kZSBjaGFuZ2UgdG8gc3VwcG9ydCBpdC4NCmh0dHBzOi8vcGF0 Y2h3b3JrLmRwZGsub3JnL3BhdGNoLzc4NDg4Lw0KDQotLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0t LQ0KRnJvbTogZGV2IDxkZXYtYm91bmNlc0BkcGRrLm9yZz4gT24gQmVoYWxmIE9mIEZlcnJ1aCBZ aWdpdA0KU2VudDogVHVlc2RheSwgU2VwdGVtYmVyIDIyLCAyMDIwIDExOjM4IFBNDQpUbzogTGkg WmhhbmcgPGxpemhAbnZpZGlhLmNvbT47IERla2VsIFBlbGVkIDxkZWtlbHBAbnZpZGlhLmNvbT47 IE9yaSBLYW0gPG9yaWthQG52aWRpYS5jb20+OyBTbGF2YSBPdnNpaWVua28gPHZpYWNoZXNsYXZv QG52aWRpYS5jb20+OyBNYXRhbiBBenJhZCA8bWF0YW5AbnZpZGlhLmNvbT4NCkNjOiBkZXZAZHBk ay5vcmc7IE5CVS1Db250YWN0LVRob21hcyBNb25qYWxvbiA8dGhvbWFzQG1vbmphbG9uLm5ldD47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gICAgICAgSVRF TV9VRFBfU1JDLA0KPiAgICAgICBJVEVNX1VEUF9EU1QsDQo+IEBAIC04OTMsNiArODk1LDggQEAg c3RhdGljIGNvbnN0IGVudW0gaW5kZXggaXRlbV9pcHY2W10gPSB7DQo+ICAgc3RhdGljIGNvbnN0 IGVudW0gaW5kZXggaXRlbV9pY21wW10gPSB7DQo+ICAgICAgIElURU1fSUNNUF9UWVBFLA0KPiAg ICAgICBJVEVNX0lDTVBfQ09ERSwNCj4gKyAgICAgSVRFTV9JQ01QX0lERU5ULA0KPiArICAgICBJ VEVNX0lDTVBfU0VRLA0KPiAgICAgICBJVEVNX05FWFQsDQo+ICAgICAgIFpFUk8sDQo+ICAgfTsN Cj4gQEAgLTIxOTMsNiArMjE5NywyMCBAQCBzdGF0aWMgY29uc3Qgc3RydWN0IHRva2VuIHRva2Vu X2xpc3RbXSA9IHsNCj4gICAgICAgICAgICAgICAuYXJncyA9IEFSR1MoQVJHU19FTlRSWV9IVE9O KHN0cnVjdCBydGVfZmxvd19pdGVtX2ljbXAsDQo+ICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICBoZHIuaWNtcF9jb2RlKSksDQo+ICAgICAgIH0sDQo+ICsgICAgIFtJ VEVNX0lDTVBfSURFTlRdID0gew0KPiArICAgICAgICAgICAgIC5uYW1lID0gImlkZW50IiwNCj4g KyAgICAgICAgICAgICAuaGVscCA9ICJJQ01QIHBhY2tldCBpZGVudGlmaWVyIiwNCj4gKyAgICAg ICAgICAgICAubmV4dCA9IE5FWFQoaXRlbV9pY21wLCBORVhUX0VOVFJZKFVOU0lHTkVEKSwgaXRl bV9wYXJhbSksDQo+ICsgICAgICAgICAgICAgLmFyZ3MgPSBBUkdTKEFSR1NfRU5UUllfSFRPTihz dHJ1Y3QgcnRlX2Zsb3dfaXRlbV9pY21wLA0KPiArICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgaGRyLmljbXBfaWRlbnQpKSwNCj4gKyAgICAgfSwNCj4gKyAgICAgW0lU RU1fSUNNUF9TRVFdID0gew0KPiArICAgICAgICAgICAgIC5uYW1lID0gInNlcSIsDQo+ICsgICAg ICAgICAgICAgLmhlbHAgPSAiSUNNUCBwYWNrZXQgc2VxdWVuY2UgbnVtYmVyIiwNCj4gKyAgICAg ICAgICAgICAubmV4dCA9IE5FWFQoaXRlbV9pY21wLCBORVhUX0VOVFJZKFVOU0lHTkVEKSwgaXRl bV9wYXJhbSksDQo+ICsgICAgICAgICAgICAgLmFyZ3MgPSBBUkdTKEFSR1NfRU5UUllfSFRPTihz dHJ1Y3QgcnRlX2Zsb3dfaXRlbV9pY21wLA0KPiArICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgaGRyLmljbXBfc2VxX25iKSksDQo+ICsgICAgIH0sDQo+ICAgICAgIFtJ VEVNX1VEUF0gPSB7DQo+ICAgICAgICAgICAgICAgLm5hbWUgPSAidWRwIiwNCj4gICAgICAgICAg ICAgICAuaGVscCA9ICJtYXRjaCBVRFAgaGVhZGVyIiwNCj4NCg0K