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 7A2BAA04B1; Mon, 23 Nov 2020 07:13:52 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C7F5B375B; Mon, 23 Nov 2020 07:13:50 +0100 (CET) Received: from nat-hk.nvidia.com (nat-hk.nvidia.com [203.18.50.4]) by dpdk.org (Postfix) with ESMTP id 53FF223D for ; Mon, 23 Nov 2020 07:13:49 +0100 (CET) Received: from HKMAIL101.nvidia.com (Not Verified[10.18.92.77]) by nat-hk.nvidia.com (using TLS: TLSv1.2, AES256-SHA) id ; Mon, 23 Nov 2020 14:13:46 +0800 Received: from HKMAIL104.nvidia.com (10.18.16.13) by HKMAIL101.nvidia.com (10.18.16.10) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Mon, 23 Nov 2020 06:13:44 +0000 Received: from NAM04-BN3-obe.outbound.protection.outlook.com (104.47.46.51) by HKMAIL104.nvidia.com (10.18.16.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Mon, 23 Nov 2020 06:13:44 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aQ/qTTkcIyyJzyw1IY3ZyVTiKKTX06/hhUvFOB0BvbYp5VDXI8wWWSWBEpXg5ErJEm+8i6C3rsbVgSgF8wpmOiDt8VpPw+JSd3s8+Ulv/BHmaR2q9bKP/DMT0yjI1IWMl69SPzAGYGEcifkJgA1oHLWM3wKhe8EogzFonaUffnAnoMMgQhxsP9yKFlNqsRaRmCLs2YC5SkdLjAJ3c0qN2HVxc/DPAOihD9jqNCMnSDkBuSUPc7GytC9kfoEXiQHXvBD7Lxwe5H1mmcI/AFBymohwlUWC/C8eBSDeLrwxcASxqvUZ9CudyipV01NUl+Pn0PkwoceFwvDrIU4p5ZLPCw== 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=bLaU9WNO3U+hLkL0f6SB+jtm6Ty7Shxu0hMCv49z0Sk=; b=aLbBuChXCAF2j/77wANCAETalo5I9lVah+A/JU1c9tZweawzFiQHACEXMsxdz0nZJd8w9En+VMvdCeaIJHPL315UsaBS2rf6rJGhTVTP+FLzPVjhzL5BGQlgKqfxeh8I48ta5I37GcZCj0rwCHJEs8q15bS6J0pvwBoweboXHMKv5ek/+Ne5jyhJ8Oy6bAdYFHLaEUtRL04vlGvx3EgcWwUh9AdfMZVwGE2fnKCjxhxB96Cjqzdcm+nMCROuMrtbBCqGlyaKOe8jPSwU3RW3Vbl9Ng3PKLtlTkeVphgcpkspP91zzAVbqSpKCZN6qxIVhROC346zSdH3pEW8hLGeog== 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 MN2PR12MB4639.namprd12.prod.outlook.com (2603:10b6:208:a4::31) 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 06:13:39 +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 06:13:39 +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: AQHWv2Wz2JVouc1iVkadhTvqqW2WDanVBT5g Date: Mon, 23 Nov 2020 06:13:39 +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> In-Reply-To: <5ce906d3-3790-a076-0744-309a8c860e85@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: c8d1d6f0-ce97-473b-7335-08d88f76ebbc x-ms-traffictypediagnostic: MN2PR12MB4639: 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:989; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 4upnewvsQDoqPt1iYO/Z+PCMalHeqERWQ0m3SGwQcGgXldsREJ+eQwzvA3Mb/47stBS5GilESB4ZHEG1RCvLHnOLBsJv3Z/COx9MDOtICrJXyCOnzjQDGYhyJY1HnooNXPKw4kaNayB85f9ogP9SZEevjNJdLTA8BA+LjPcZdStc21yJC7mW1tyH05W9YcLErBAlSmpwJnU/GfPUK7avDaN0HHdjDWbTv5LQoYPU6M6ChZPIIP9GGSzoSbDOWMu9+7gkBhNaWS/dEsytsv2KhM3vIRhAXHbGJx0Izby5lR4SiZpVSWSoGjOA29hyB0lW1ZVgd6QLdbzHdUT8o0gLhg== 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)(346002)(136003)(366004)(39860400002)(396003)(26005)(53546011)(6506007)(52536014)(9686003)(83380400001)(5660300002)(33656002)(86362001)(2906002)(71200400001)(4326008)(6636002)(7696005)(55016002)(66946007)(66476007)(8936002)(478600001)(66556008)(316002)(8676002)(64756008)(66446008)(186003)(110136005)(76116006); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: bI3K74gQx/dDObrj7WRG+EhCf6gDZjY289bx3hvdMda3W+i+zeWYssRfQ1Yt0sD6G7FO6wSTPgc+BVr7nl43P//1V0eManf/b086nHvIHI8FX659oPCUk46xuwjDL0pGcmRV2cVOmYxrIRIB+Aw5qZ6iLwSK/sBoIS+dX9LTEQVQCaZMh+VBqXFbhHgmCmASgB7Qer/XN58PIMfXQAO57YpM7Pp8MXA/TgRTTMkPCm1yYABQnl3c0Cx17yNufw1Ldo7ofC3DIhBlQ7H6W7lFcw5wzgb40hzPLPSOv2rsct8r5MLKql++/U8W8gqvVZ9za8RWfqm5ZoWnKTifdhkJtvk93/fx5SANt7bGhf8Ffvz0XSbLQ753Fmf8c3usCqn5uU4JakmyrMnMoU/igdDHfnZJ84JszmX/wrIf/v4CyBmXN3oEVl08e0dX1zgGPCoJuL+sFmk0cPgbFcRqbKcE29Hjgb1W6hGXUIIaSACdg6a89an21okTeTr266/8OVMKAw/PcOAfzhhN202EvwWSugAY1cnd76L+8YNHZrp2CbAQUv9NS9OvQA6RGi5e4vueCxKJHKb8KY7OsQvh9bNU7ehe9nP6WEoXaVLVuSXPAKltVfyFCDZO5xNFpCcbsFzJ6eZgcb/dk2Vy0Axa4cpf8w== 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: c8d1d6f0-ce97-473b-7335-08d88f76ebbc X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Nov 2020 06:13:39.3016 (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: icUhbK9ShKZ0As8bLtJbThC+V9WB3+hkORoVgDZB845BAicFtP6eKb8bXxTdOxZq0/4U1I6Mui+HPm+h2I7rxg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB4639 X-OriginatorOrg: Nvidia.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1606112026; bh=bLaU9WNO3U+hLkL0f6SB+jtm6Ty7Shxu0hMCv49z0Sk=; 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=MnKyXE2n3NaoqZ+da1C9PMcuZB9PnFvn0CNnsfaaSXvZpCscMMuHho2B3AW0ZbXzn +NYvDGdNzJL/GMPmGERrlPc26dGeUisShVus8NVfSoHWLO731b/4Te+X6byAqNNfDN 9IM5CrB8POMXKz2G8uySOI45J9nX8gUDUBijHg5Y85ncOaeIORTgdgAsry78T+Jsns adANW9MPgadxbDWWuSVEDLu04klWORL+ueCawCHciki/1Yweh9dJFzCuMQFMyUKKl6 nHv0q011zKMCDWSzDmYtI4pVAcRCy8MPWvOVP7kBp9UNH76tyF0l1d3blX/OtjmaXy Cv6zGcJ6ouQ7w== 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 aCBZaWdpdCA8ZmVycnVoLnlpZ2l0QGludGVsLmNvbT4NCj4gU2VudDogU2F0dXJkYXksIE5vdmVt YmVyIDIxLCAyMDIwIDE6NTAgQU0NCj4gVG86IEppYXdlaShKb25ueSkgV2FuZyA8amlhd2Vpd0Bu dmlkaWEuY29tPjsgd2Vuemh1by5sdUBpbnRlbC5jb207DQo+IGJlaWxlaS54aW5nQGludGVsLmNv bTsgYmVybmFyZC5pcmVtb25nZXJAaW50ZWwuY29tOyBPcmkgS2FtDQo+IDxvcmlrYUBudmlkaWEu Y29tPjsgU2xhdmEgT3ZzaWllbmtvIDx2aWFjaGVzbGF2b0BudmlkaWEuY29tPjsgTkJVLQ0KPiBD b250YWN0LVRob21hcyBNb25qYWxvbiA8dGhvbWFzQG1vbmphbG9uLm5ldD47IFJhc2xhbiBEYXJh d3NoZWgNCj4gPHJhc2xhbmRAbnZpZGlhLmNvbT4NCj4gQ2M6IGRldkBkcGRrLm9yZw0KPiBTdWJq ZWN0OiBSZTogW1BBVENIIHYzXSBhcHAvdGVzdHBtZDogZml4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