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 37E4EA04B1; Mon, 23 Nov 2020 12:03:40 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id AC144C8C4; Mon, 23 Nov 2020 12:03:37 +0100 (CET) Received: from nat-hk.nvidia.com (nat-hk.nvidia.com [203.18.50.4]) by dpdk.org (Postfix) with ESMTP id 91A0D375B for ; Mon, 23 Nov 2020 12:03:35 +0100 (CET) Received: from HKMAIL102.nvidia.com (Not Verified[10.18.92.9]) by nat-hk.nvidia.com (using TLS: TLSv1.2, AES256-SHA) id ; Mon, 23 Nov 2020 19:03:32 +0800 Received: from HKMAIL102.nvidia.com (10.18.16.11) by HKMAIL102.nvidia.com (10.18.16.11) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Mon, 23 Nov 2020 11:03:28 +0000 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.173) by HKMAIL102.nvidia.com (10.18.16.11) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Mon, 23 Nov 2020 11:03:28 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AscxTxqOJLVc5GGgUXh3bzWAE/If7ZJicHQPdM8UEnW7SCBfqy98AGmPbDiVTu8H/dOJyfG9kTiV80b5sZfxm55lCMBNb1VeZ22F9q8ovdFPJqvrmW9/OdIfKT3cC8whkrQ0+y2KogloA5ntZKV7NMIK5YI45T4DGskEpE+6HozIEIAeWVMljvV3MBAnHbV6n3nf4j3ytMOwcay2h74aVT1FVsHQ98ydCf3BvF3T+eU59PWy/P4SHKIliZojwGl9AQNPWfgU7SLicET/xLbMSQPqpdBBzchuReNt183vBHkWRrUP+OQKSFgCG3XcaaiKzZYA50pJnzrM2uerqJhxXQ== 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=Vosjjzgnf7znZFY3Qy2DhKbK+ZHCzckFF83LrwqgOQI=; b=NFO1Dh1C7ecLM268RZRUszIOodolSf6Zy+R0mnqQtqPaHCV4VO8ho4GsS7ZKCxdYcNaAW7t8TrWBxTjpHZ7jhXrNP9Dpfwi1gFq4e06MkYLmI7OXsV76QHsXcfJ1euLyPRXshtffTD1X1MJgmTeSdqcFQcPqkInco0O7CB/0+GlembZvEBg+z0PcX/ODEULo6NH25KZtfkQs+vF8tIu8WvQkWXCFIsTVwyGuDj1JR85G+WKkuiAYwBJMgq1vHK0YWYLOoPMVGOhRHSlcQz/d/EEGsMA/rFXLi2xqUYINHZI7po310z2VLPVljPDJPsUJf3my8VIxz72sKugdNRGrUg== 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 MN2PR12MB4781.namprd12.prod.outlook.com (2603:10b6:208:38::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3589.22; Mon, 23 Nov 2020 11:03:25 +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.031; Mon, 23 Nov 2020 11:03:24 +0000 From: "Jiawei(Jonny) Wang" To: Ferruh Yigit , "wenzhuo.lu@intel.com" , "beilei.xing@intel.com" , "bernard.iremonger@intel.com" , Ori Kam , Slava Ovsiienko , NBU-Contact-Thomas Monjalon , Raslan Darawsheh CC: "dev@dpdk.org" Thread-Topic: [PATCH v3] app/testpmd: fix testpmd packets dump overlapping Thread-Index: AQHWv2Wz2JVouc1iVkadhTvqqW2WDanVBT5ggACBHoCAAAqkEA== Date: Mon, 23 Nov 2020 11:03:24 +0000 Message-ID: References: <1605355308-427475-1-git-send-email-jiaweiw@nvidia.com> <1605893733-84486-1-git-send-email-jiaweiw@nvidia.com> <5ce906d3-3790-a076-0744-309a8c860e85@intel.com> <15cb428b-70ee-cc08-2c34-3eeb0ea9f04e@intel.com> In-Reply-To: <15cb428b-70ee-cc08-2c34-3eeb0ea9f04e@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: [27.38.173.10] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: fe0912d4-615a-444e-766b-08d88f9f6626 x-ms-traffictypediagnostic: MN2PR12MB4781: 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:7691; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: LW7a6LpuZfj4NuSqRINk1DoOAPMeRpPhESMqsdQmVIbSqz628Q1NAT7oSou8jBnZu5n+8HtmmOu8piy+bmQciDJxq3dh2rr+iiPodI460LaAqQaul5gmr+x2j/3evNAKcocZvGMAeEFwMtStuXypBaWaZObzbG4WEjuU5vvhoHXo1pmIF277x64E0fYvCf6J36TwKgbyuhgKFKbNReH/dk7+Pj4L9UpzgA9YhiYqypmKicFzA9RGi3vY7pVdzpvg9roRWCiZJVwjYKxzz96mwkUx6CUjywNLtSEynLiPsFYNgFEC+pnpM54Rcu/w/Xhz6Y98/raVa8hC41vwyRE2ou64gkWW8vFqdBzowXCFT0R33GwoQT5OkcoMILvckWjN1MEizgIxlA47EzoJXmAdzQ== 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)(376002)(396003)(39860400002)(366004)(136003)(346002)(71200400001)(966005)(8936002)(478600001)(8676002)(316002)(6636002)(26005)(53546011)(6506007)(4326008)(7696005)(9686003)(2906002)(110136005)(186003)(64756008)(66476007)(66446008)(66946007)(33656002)(66556008)(52536014)(55016002)(86362001)(83380400001)(76116006)(5660300002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: Vd+N5QqvdghYxzcNvy1eNmEgD/oZGcWa2Ab6YFZlH2b4pSwnsABJAANMVBDZ55/B1ozzssuc5lq92zJU8bA3poYaEaPIvkgwxwvkI3zPU7H603i9mF83fwQ1+A5veMIugVax2bxHyqwFBorNilh95/KYmPLeU3Dl8E85yFuHwaXZi+fkvLdoYCWClAGr+qHa0/ZblmZYibIrStw8yW7S+WfVb1MqKu4uacZFM/WFkmm4JcfpUWJ/4nZQsfMf90eA2w6UzxtMGJMuB8X6rD0IuZozfrjIv7fIgQ3n1FmUy5n0B66dtqRyy9WUCE5Zy8FaQq+0XdHKqbOoOTv7EFeXz5f7NWI82F8xBu1tranv2FPDhTIn57sN7nVzzYUBY1DOEq1pHiCoCpghpT3lgw7vIpLjKSW3B2AnKUetg9SVMs13reovgjmAsyOzoCa0a2ACKzpFuYWhObvDtytauBw7wdFuUiEG7EkGFTrYt5ZbQ/QyYoJ3vgP5RErx/tDY2PAV5a8DUPbilgsNKfXvg4zr8khAzkEMzrS3Fy42EiXdK6VxGSSy+vAzizG82bDWwKqqB9d1CgGhqPaej/5IEWLZkGvHhl+VnyEz1vTGUHqjqIZ8lBiNDv1M8b/Bj068DnuFC0bsT8NbqkFuxXabu0oTzPdiePbgMmGJ/tkBcw8sYGaM8OWFieC3gy4qC9C5m8eafVWK3Vqua7SLrPcLsz0qlVk0moZRtPoEkXvaq+3oyH72mTgP2IamM2qZG3OjY+9JiIFj4gs4YTFf6Rqy/MbnZ7find+bXvS9ML2unPY0IrqGZN2TAH0IRJ3MxOTSEGx1G0MT2NF8yWjlvv1TaD9TrohGXMyW21xLo0JXQ0lFfFAiym4hOyv+y5OrlAv1HZuXtyb8n/uwIvnTc7QR2C2gxQ== 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: fe0912d4-615a-444e-766b-08d88f9f6626 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Nov 2020 11:03:24.6395 (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: 0maiWpxHcgiPtqFnn2qXNI7nzuTexfbbsZ/q0MFeEhKqRCw1qSfw3xpKChdKJbB+KC56NsWVNHRWGs4nH2k+Nw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB4781 X-OriginatorOrg: Nvidia.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1606129413; bh=Vosjjzgnf7znZFY3Qy2DhKbK+ZHCzckFF83LrwqgOQI=; 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=hfLtqcSt6h8WBkt3dangbCc2KeUXRvkp+w5NOnkDVF+Kud4ATbR3YafD1jTc1JMXB 8gkZ1pzAhn/Mip+b0KVApiTRaea3Hlv3tgvCBs2XHFCLwupQC7mWlTR6BIA2mumBKA ZYcOYn25ZdWL0pAoa7tmJIBQ/84I5CNFVprjTsWtqOwKke+o8XWL6+f1jfOwMv7fY9 QIYZHFCfb6/rgUPhkdtBlmf5izNzJbRQJaUjgmXx6nXQZ93ZtvZBqSQm/DWK+GK4g8 ur9H027265viiyEDqZdApN9OdtotvMolmqeqP3eoHVsy/9ZJn6tLDMi/Cw8clmwKJl ZWw3YUvQmv89w== Subject: Re: [dpdk-dev] [PATCH v3] 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" SGkgRmVycnVoLA0KDQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IEZlcnJ1 aCBZaWdpdCA8ZmVycnVoLnlpZ2l0QGludGVsLmNvbT4NCj4gU2VudDogTW9uZGF5LCBOb3ZlbWJl ciAyMywgMjAyMCA2OjIzIFBNDQo+IFRvOiBKaWF3ZWkoSm9ubnkpIFdhbmcgPGppYXdlaXdAbnZp ZGlhLmNvbT47IHdlbnpodW8ubHVAaW50ZWwuY29tOw0KPiBiZW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