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 1C3C1A09E0; Fri, 13 Nov 2020 17:30:17 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A6458C868; Fri, 13 Nov 2020 17:30:15 +0100 (CET) Received: from hqnvemgate26.nvidia.com (hqnvemgate26.nvidia.com [216.228.121.65]) by dpdk.org (Postfix) with ESMTP id 7E749493D for ; Fri, 13 Nov 2020 17:30:13 +0100 (CET) Received: from hqmail.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate26.nvidia.com (using TLS: TLSv1.2, AES256-SHA) id ; Fri, 13 Nov 2020 08:30:16 -0800 Received: from HQMAIL101.nvidia.com (172.20.187.10) by HQMAIL109.nvidia.com (172.20.187.15) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Fri, 13 Nov 2020 16:30:11 +0000 Received: from NAM02-CY1-obe.outbound.protection.outlook.com (104.47.37.59) by HQMAIL101.nvidia.com (172.20.187.10) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Fri, 13 Nov 2020 16:30:11 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FYoeC5MOB+x/wWVeT227jMDft0p7Z9GtKTVRiVwdEX6gTFGUB/KV0krDjlz9wBMLk6MloV0rp0oGB8d4Plj6elU6MDIJUWtDiFW+U0n0imhXiIJ1do5400ltYwuMbdhMLOj/OjxJNVHRMfgGuJQE6T2Ef3YzP7sL2HTVCa3xaHugDzExtP6vNyE3aYTwc5s80eC7QknICtJGPYkLqwAsspJdjWTQniSLfUZ97MqMTOLHw9zFBce0mCiPaGRfrlC0DlSPp0i8+2xvwdTTcuDkkWfdMFyC7ZAiQYE/kogixqkcYiLznelJJzIl3aq6cyWrQxE7PWHX7QYgdFs0djKfIQ== 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=yKUrf0FHZS0ENEMjp5g8Z8SbOnWUvtMTYd4SVcTBkew=; b=OuBzmXLNbT4jNLrEMG0SrRxgWJmd8ax2EiqCOA00SLsG2C+vjfSgY+/iL+0bgZVNIC3yc8fousCyWt1/6+oKRS8tEjjoxpA9nbMlHaV1hBn4HnwoMJPaq2MHsWgsT6HWUEbphwv4s8W5eUQ+x93nIhc+yzup5RZjM52jRfCYp7RXfueRMb55DFyfdAMDNnPS6A8CSc9+A5PGduEgMfRxMhDf02LlnEGU8AY9tsn1UEtq49cDmZa7tL5sWaF+Kto81PER2R+Kp764Z/kSgtYxPeTiOsOqTqbvx7nIjyamhsYl3DMCttDQ4D0g87Tu/xZhYfuGzkrGVBkZk62MvLoywg== 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 BL0PR12MB2419.namprd12.prod.outlook.com (2603:10b6:207:44::27) by MN2PR12MB3934.namprd12.prod.outlook.com (2603:10b6:208:167::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3541.21; Fri, 13 Nov 2020 16:30:08 +0000 Received: from BL0PR12MB2419.namprd12.prod.outlook.com ([fe80::cba:5dd5:ee50:a528]) by BL0PR12MB2419.namprd12.prod.outlook.com ([fe80::cba:5dd5:ee50:a528%6]) with mapi id 15.20.3564.025; Fri, 13 Nov 2020 16:30:08 +0000 From: "Jiawei(Jonny) Wang" To: Ferruh Yigit , "wenzhuo.lu@intel.com" , "beilei.xing@intel.com" , "bernard.iremonger@intel.com" , Ori Kam , NBU-Contact-Thomas Monjalon , "Raslan Darawsheh" CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] app/testpmd: fix testpmd packets dump overlapping Thread-Index: AQHWuM7/Pfxp1Ux5qkKHnINpCZOQmqnEtLEAgAF7FeA= Date: Fri, 13 Nov 2020 16:30:08 +0000 Message-ID: References: <1605170202-293829-1-git-send-email-jiaweiw@nvidia.com> <1c967e7c-d929-2126-6efe-48c905588e65@intel.com> In-Reply-To: <1c967e7c-d929-2126-6efe-48c905588e65@intel.com> Accept-Language: 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: [163.125.178.188] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 9dc68c1b-5500-46e4-e636-08d887f1626f x-ms-traffictypediagnostic: MN2PR12MB3934: 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:7219; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: jTJLfCySIRHEWKagzMaO1y+sFgm7LdcWohCYN0QVK5MRFQy1ke4mVVgf2PGBMiUtA0PWlvW0qkGrAmlzuctrvsTx2CfixpXiEpDuofStdPFg05ZEPy8XqYFVVaY6dPlmLR+5Eorwm/8dL9taNf7sx3neitgf6vFPiF8lgSYtSxT7UwkzoaWkHH+N/Zo27xcM2b6Z0afzDnjQOy9JDKcABxLXxoX1KQUvEty98Dz9C6l/VtbTS8UPGhjnBVKS1eOIEtzWB17ppauthrBCnknuXtqujrD6hmJTH27ByLOaywtewP8Ypz8mccX7Rufcm0gH0VP+9KFUbutTQWjgMoNuuw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BL0PR12MB2419.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(136003)(396003)(376002)(366004)(346002)(39860400002)(66476007)(71200400001)(76116006)(66446008)(66946007)(8936002)(83380400001)(478600001)(5660300002)(9686003)(53546011)(55016002)(7696005)(33656002)(52536014)(2906002)(4326008)(8676002)(316002)(186003)(110136005)(6506007)(64756008)(26005)(86362001)(6636002)(66556008); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: KsLJ/JoCsJ/JOcwXvfs+vcej8mHaKjRJsQr0HFrfNn7sI2b9RPJAQo8hShtxeqsMVeoUvk2i54VSAsDbecR6uMLP7E1vLzZLLyMAW7oncxuGCWCdk69twIbx9XYBKh0GFawDfYZ/1SXIe0JAyT3zTzU/ZvMEJlh/EgectzjmV3N7DJXnqK38FVtw0dOqkMQinhZn5+TCzXKYTrEFsr2Ft6bK06q4iz/G8J77cY/WL9699oZ+ch8ElbWvwQiqOXaZ6+i4mVuxuhlPeEc5rkc/91RTzCH0Qjki2IMRgf21ejHuE3TypRcc4KOUcPre0zkDaqVHQysc4SosebgDV+kVFC9XOUla5CzOyf0nNa8S2xyrqqtNIJkSizOHYR0oW1bR5MwN90Qp0P7i4TSuyzN8HcprYXmVhj+69Ne80CQXdwQ+8u6ixjmiB9TZzkM2AGqugJgc42iKH80MWvl+/7linG8Go845gLH2TgxaflKY1DDUSyu0ovJ3bmChlv834Bk3YkW7wcil0AI75GGmm9KYq5Llm0BZ5KFeYP7JkuL08na4bOBqnteZ7LDXfDmgrXKZMzJtkShVqb1IEYy1hjEk9m7uueUGPFOm5yb4ZzjsWy0yASyzHVRkDDdJuTlVUsSAGWPALYzq+4NOVHrNcLiTjg== 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: BL0PR12MB2419.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9dc68c1b-5500-46e4-e636-08d887f1626f X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Nov 2020 16:30:08.0354 (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: 06Mt+flzl1s15Ov7ClFY2pyfLbUotqOjrFq4sLjSXkmFKQ3CmLChiGxcVrTs/YgtsiAIpUWefvd/i+l0UWNLqQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB3934 X-OriginatorOrg: Nvidia.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1605285016; bh=yKUrf0FHZS0ENEMjp5g8Z8SbOnWUvtMTYd4SVcTBkew=; 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=bai9udT3a0I6vmtdGrt0pvrTy6HGu1o+07YGoUocuN0WomvjGtBn/z9G57EZfDy2u /gHJtzvyhm7gygvhgVIvSyGat9P1WRqL7nUS3A0Wt3jkjNN+uNiJbOlLWgtNdlWaMC 9ipWWoLcktZiMai8Xw4yal/MqdTzfQ8P4yXwxPZIv2wwooMYdOIG15vnZw/9ZJYUGz InCiNmvaQQrmkX5e+AtLy/vxrkzYEYB/jXIH6Z6QZiUY0hycXbh8bMX7dvJv66s/XX lv3wiJqh/qpcF82evHCICoeKtmtB17kDVqPuAon9mheWpsOQm160nUCEThqZVq/f89 mwZBbCONkh73A== Subject: Re: [dpdk-dev] [PATCH] app/testpmd: fix testpmd packets dump overlapping 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" SGkgRmVycnVoLCANCg0KVGhhbmtzIGZvciB5b3VyIGNvbW1lbnRzLg0KDQo+IC0tLS0tT3JpZ2lu YWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IEZlcnJ1aCBZaWdpdCA8ZmVycnVoLnlpZ2l0QGludGVs LmNvbT4NCj4gU2VudDogRnJpZGF5LCBOb3ZlbWJlciAxMywgMjAyMCAxMjo0NSBBTQ0KPiBUbzog Smlhd2VpKEpvbm55KSBXYW5nIDxqaWF3ZWl3QG52aWRpYS5jb20+OyB3ZW56aHVvLmx1QGludGVs LmNvbTsNCj4gYmVpbGVpLnhpbmdAaW50ZWwuY29tOyBiZXJuYXJkLmlyZW1vbmdlckBpbnRlbC5j b207IE9yaSBLYW0NCj4gPG9yaWthQG52aWRpYS5jb20+OyBOQlUtQ29udGFjdC1UaG9tYXMgTW9u amFsb24NCj4gPHRob21hc0Btb25qYWxvbi5uZXQ+OyBSYXNsYW4gRGFyYXdzaGVoIDxyYXNsYW5k QG52aWRpYS5jb20+DQo+IENjOiBkZXZAZHBkay5vcmcNCj4gU3ViamVjdDogUmU6IFtkcGRrLWRl dl0gW1BBVENIXSBhcHAvdGVzdHBtZDogZml4IHRlc3RwbWQgcGFja2V0cyBkdW1wDQo+IG92ZXJs YXBw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