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 5C14542813; Thu, 23 Mar 2023 11:34:29 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3D2864021E; Thu, 23 Mar 2023 11:34:29 +0100 (CET) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2043.outbound.protection.outlook.com [40.107.93.43]) by mails.dpdk.org (Postfix) with ESMTP id 8571B4021D; Thu, 23 Mar 2023 11:34:27 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eDQNIkn1icUMmKb3WUBSR5laf6j6DFNr+6Vh8RtSdh8CgIoxYoc3iUkG9nQ5pw2vQWCRlei3H73vuNYkZPyi8Z3pS8tRZ2wygjTh/yN0xdcemqK0kmicLLN+P6xll+GMruwxDdHRTgd1ufLZIrRsXu6FmrQnBnL042ui1oBgeZM9f9UzGZFlRf4HgZyebfXUtrgoAYzHjuUsAgXLYoWnk/4En/6IVUSbjppOPpKP1baphjhLE2J+SAuh0UHbojHelUW14PUM3IEPIbMo8H2BkF6Bdq28Djsuo4PY6nGH+2HwvjGWcwHGN273VFfjjpynFDdJPgvC+Cq/i7CJ7t4zKg== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=r48QP3QIU8Rwwbeb1gcDHdd7h/ySeg/ZvRy3BGV2X54=; b=G9gMVbhUdDtLyRZpou4qamj8mwEDydAbm5ZmtGz8vmimT+6ywycXt/ElmoTudmSDPsNULOmWv5nBK+OwGox32FN9E9VlPOjncbjK5KYIyRbXjZCdEZe+CeyCHfJIde66BvkBcdxOVcIO1V+rI4jdHSNwrtojZ42mWMpwkS0AOelyjqKGUKuvyImEY9utrFPYLgpy4oIF2v4LgeTr6iwOBQ6VEbdjpy08OfnWHMIR/vHfRmNOmWokhnj7msuiM97TIkwyK51EImMBdRhG3wnW1l5VI5fOu1Sty/iebUaJ+nRu0AEX+P/57YqbUtrpQ6JXgKnUO/I3enHDR3MVkxQZpg== 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=r48QP3QIU8Rwwbeb1gcDHdd7h/ySeg/ZvRy3BGV2X54=; b=d76k9lAaqs2eHKWttq80QfngiEuv26JITCgC/P79Qrpy1LSM8FQ5Sz8t5gP8yvlEKM3+uyV0B9UTEkccYBuPvgiyXWpczA1LFmayVb1uQqX2MoTri2RU5FmKxAjNYiJUPx3TP3C0PtVt0m5lKoh8U81PrXZrj/qPF2OhuKvjWV5oKVXL3sVAk1M9C4o8bJ7gWB6mDRlXH39IVSV8QcQBBxsyTBk7bH8Say4UbyheV1g8syDpqhwcZnmi1+dhhHJavlIqYZcNPf75emT/BirmyxIDve2B5UAfqgQdQLUncWhrdt49cuNpJdQPzhr7RaDI1PbkHoxKcbSTRaYhh4uOdQ== Received: from MW2PR12MB4666.namprd12.prod.outlook.com (2603:10b6:302:13::22) by BL1PR12MB5190.namprd12.prod.outlook.com (2603:10b6:208:31c::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.38; Thu, 23 Mar 2023 10:34:25 +0000 Received: from MW2PR12MB4666.namprd12.prod.outlook.com ([fe80::6ba4:b9e8:d439:59e4]) by MW2PR12MB4666.namprd12.prod.outlook.com ([fe80::6ba4:b9e8:d439:59e4%5]) with mapi id 15.20.6178.037; Thu, 23 Mar 2023 10:34:25 +0000 From: Ori Kam To: Michael Baum , "dev@dpdk.org" CC: Aman Singh , Yuying Zhang , Ferruh Yigit , "NBU-Contact-Thomas Monjalon (EXTERNAL)" , "stable@dpdk.org" Subject: RE: [PATCH v2] app/testpmd: fix wrong encap/decap size calculation Thread-Topic: [PATCH v2] app/testpmd: fix wrong encap/decap size calculation Thread-Index: AQHZWDSQoFXSDLlrVES6mSqPRMgv8K8INRTQ Date: Thu, 23 Mar 2023 10:34:24 +0000 Message-ID: References: <20230316171654.1827514-1-michaelba@nvidia.com> <20230316182412.1831799-1-michaelba@nvidia.com> In-Reply-To: <20230316182412.1831799-1-michaelba@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: MW2PR12MB4666:EE_|BL1PR12MB5190:EE_ x-ms-office365-filtering-correlation-id: 39dcf855-0a51-4a1a-de80-08db2b8a2c51 x-ld-processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Ig0RMDZUIDYW0cKje6iciqs8k7jbsbZMBgho626YuQW+ZGTjGJQqziNJ7SJGqxcBw3zGOJnP6Q1F5eEKsaj4xVoInMIO38ENi3mJDhlv/6pKc1DRZkZIhKWlyrYaPEwHBT/dExGorMjdCBRycTsXF1hx73xwxWA/I1Z6qaNK2nmngK2e5jNP9/0uk/KpPuHsitoRmEn6au+xE9ntSsIIql+qmg71798ZVy5BV0FbXfQ4KLSRRQf0RCoXPFcNgfTd1lbhijCvm+c32dnwjEl2zXVez7zXOWT/BZFhC7GHm0FO5bWg3oXAxki8R8OuBLUGQRIb5bpkStHjrZPeULOxxuwuh8VwX4E4pKI+afI1CpOUcoboMr+ReCXBzjXXyVgpipvX00VHObY1yfef/ZExy+RN0oTI6mAYw7FVbasK8Mbc0OZ8sAa4EzWtOx+q7HirXFzy0PWQByKo2UEsULzR0QBohpkWMlHpCzAe9J+Id8U9xf6p8aHm2vd1UwEDDzTxPfc8Oy0vtp2g9bxB5BUiAE+39PVW80kXPG9LUIgAmZhBh3P12R6+zr0gEX5ZfWsziAY4mdj3zD5Q4suejneDi6YL2mHpYlaac0W7CaL2cuKewLgI6UmXXQ49uKh9dSjWjdDGbqyshdpkAXGj/S7E5af7LWPHJuP4MwipfuzeUHH/psrrfWJ8IvNwddJBEY1M6rJZ/ogjWhdBjzYJy9Hnqw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MW2PR12MB4666.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(4636009)(39860400002)(366004)(376002)(136003)(346002)(396003)(451199018)(4326008)(76116006)(66556008)(66476007)(66446008)(64756008)(8676002)(66946007)(316002)(110136005)(54906003)(5660300002)(122000001)(41300700001)(8936002)(52536014)(26005)(6506007)(186003)(9686003)(71200400001)(83380400001)(478600001)(7696005)(33656002)(86362001)(55016003)(38070700005)(38100700002)(2906002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?QUppa2tOc0ZDVmFmNk03Y3YyKyswakpvMmxzcW5kR0lETUM4RjlmL2NSRGNQ?= =?utf-8?B?L3N3SXBtVUZKaldYWDhCcGtWcmRqdE9Mb1NJWm9LZW4xUzJ1dXgyQ29leVpT?= =?utf-8?B?NGNaWHJiQnF6UEJGTHJucFFXR2dWSVhMMkZ1MmhlUDN1NmZzanJJY2pGTzdR?= =?utf-8?B?Y3V2V29ZcUEvcmtnUjNTc1g1dzBhcXRDdmxZdXhwSUtqUXIwcUEvKzlBT3VK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dDZUhFQ1BWOFBVbUtENVVpTUFpS3VISUsx?= =?utf-8?B?Zjd4YVE3UlNaNkNWb0hMNFZEQjZlKzdQUnB2Q0dHeUFtclg5OFBSZjlmeGR2?= =?utf-8?Q?fHH0=3D?= 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: MW2PR12MB4666.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 39dcf855-0a51-4a1a-de80-08db2b8a2c51 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Mar 2023 10:34:24.9288 (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: CK4be0Vs5NPcEdNj6TfUUSNUxlpE/R6hOjAvH+GZnwH/54X0+A2M4qpaGgP/teOok4AWgCAcVhN05Mmsys2nGQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL1PR12MB5190 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 SGkgTWljaGFlbCwNCg0KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBNaWNo YWVsIEJhdW0gPG1pY2hhZWxiYUBudmlkaWEuY29tPg0KPiBTZW50OiBUaHVyc2RheSwgMTYgTWFy Y2ggMjAyMyAyMDoyNA0KPiANCj4gVGVzdHBtZCBhcHAgaGFzIHNvbWUgZnVuY3Rpb25zIHRvIGNy ZWF0ZSBlaXRoZXIgZW5jYXAgb3IgZGVjYXAgYnVmZmVyDQo+IGZvciBzb21lIHNwZWNpYWw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