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 C763BA04DD; Mon, 16 Nov 2020 20:09:56 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0F32931FC; Mon, 16 Nov 2020 20:09:55 +0100 (CET) Received: from nat-hk.nvidia.com (nat-hk.nvidia.com [203.18.50.4]) by dpdk.org (Postfix) with ESMTP id 7E36D2C16 for ; Mon, 16 Nov 2020 20:09:53 +0100 (CET) Received: from HKMAIL104.nvidia.com (Not Verified[10.18.92.9]) by nat-hk.nvidia.com (using TLS: TLSv1.2, AES256-SHA) id ; Tue, 17 Nov 2020 03:09:51 +0800 Received: from HKMAIL104.nvidia.com (10.18.16.13) by HKMAIL104.nvidia.com (10.18.16.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Mon, 16 Nov 2020 19:09:49 +0000 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.176) by HKMAIL104.nvidia.com (10.18.16.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Mon, 16 Nov 2020 19:09:49 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BTq3P34QGw71UMVlyrL8u3YsMfEUkLC6c1q0IrIaFcmAdqdf7KIUkAGTUx79asiMjSuS5OuZgHPRzfNzltHCVASXk5k9qWjUSE0VPha2x7aPrXkB48uS9Eoex08JWbnVQHWlggz7eOoLsxhYetMo5INyQVVLHVpAWexE/lAAmyEh220WEZ7cRzZ2deWFdoJnJcH65qXKGZeO3qbtFYdNQNgqmpw9AMX8dx1n2W4JHeLvRTKsBuBvoXEfJ1mifep4w+zBBlTkoAZzUyzMhMbnmAjJWn3GvsXz6TfyAFgOd9qlPA/yq/5IuHd6lnUiNmPN12sYdKvatIBeOYSm7sFpNA== 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=t1qWBCczedKsx/ysKAMvO71Wzlr5RVSUkpDxtWbqgAY=; b=RVhvETD4wCTXQliDkr7HCQ8V5i7dAK9f5OqLZj8KoHbv6AKeYOEJVNvPMm4ywfnzX7t9sfp8DoTTAyVSpzPag6t//E11u3G7vr2iSt6RzSMdjIqZSDrSKDWcytWm6Y1PFBduew82zjfzkPaX6lA9v2QnLX+XW/8ydiEmgzqhyYClbrU8rKvIGNmb5PxBp7nrxv/EtzRKHM4JeUth6AHYdjZju7H3kEbb/oxoPcVFCf4GmiYxMPLdxJP6xtVBYzHDnu8BcPaNOqqE5jpCHVsASU7jKhppz/WXCc+07gggMiuDKe/zvGXegRP729Z0FOQj8KOTNPf3Dy2ZIq7hwSY3nQ== 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 MN2PR12MB4375.namprd12.prod.outlook.com (2603:10b6:208:24f::16) by MN2PR12MB4358.namprd12.prod.outlook.com (2603:10b6:208:24f::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3564.25; Mon, 16 Nov 2020 19:09:47 +0000 Received: from MN2PR12MB4375.namprd12.prod.outlook.com ([fe80::30ed:f7db:39dd:85a]) by MN2PR12MB4375.namprd12.prod.outlook.com ([fe80::30ed:f7db:39dd:85a%6]) with mapi id 15.20.3564.028; Mon, 16 Nov 2020 19:09:47 +0000 From: Dekel Peled To: Ferruh Yigit , Xiaoyu Min , Jasvinder Singh , Cristian Dumitrescu CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH 5/5] net/softnic: update headers size calculation Thread-Index: AQHWu+38x2cgXp91H0eQVNIzEYhrCanK8tiAgAAp/nA= Date: Mon, 16 Nov 2020 19:09:47 +0000 Message-ID: References: <0bbc7b578dc8ad9348e802e2553de977805f80db.1605493464.git.jackmin@nvidia.com> <41f0fbac-59e5-bddb-3e4d-744da727bd7c@intel.com> In-Reply-To: <41f0fbac-59e5-bddb-3e4d-744da727bd7c@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: [2a00:a040:185:5447:c0ba:221b:6dd6:673b] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: d6ee4c13-f189-46f2-4f43-08d88a632f41 x-ms-traffictypediagnostic: MN2PR12MB4358: 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: u+RpXXvZrwnKZiYmJ+zn3/8ZjgoBKoRIc//+8ja3w1YgmJIvpqkJKooeq66CsN67aruDwgpIAjGBnUK0grB1WVCUqXm260gebvOItt0mXxgBb837D/0irDeCAcIxybJ1TvYD4XkTebd6ij5j7q9cbip6up+3YsPzCDMnk/pm+Uai0uFNPkEZmqV2SjYVhnIfEGOCjpMzKbzpwgULzbqc4KraqhJNrbY7C+AwO691+RpMRI+4FvejUuvEC4KU+F5AZyR4fZhoM5n+mLwmjW8nxK7LyeWlmsgcn69RMPXvqrc49MHeNQ6bELGiqtD2+tO4Uc2b5jJbt1yjeSayFDFgZQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR12MB4375.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(346002)(376002)(39860400002)(136003)(366004)(71200400001)(2906002)(8936002)(86362001)(83380400001)(478600001)(4326008)(8676002)(53546011)(6506007)(33656002)(15650500001)(5660300002)(55016002)(9686003)(316002)(110136005)(66446008)(7696005)(66946007)(186003)(76116006)(52536014)(66476007)(66556008)(64756008); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: 7704VHZStzW4v64j23EYSDT4+C7esS8imzF2YDWjJxNN4waVQRy7vT1+OnpCi97hYUW/P0ETNVeIYu0R/WH8mMpW0eWg7PbPYvk01A+5Vt2LjkXd+vujeEelc7CFJSKjKT3vazQspaH22Kr9njDYbn1lzGQ1AVw0xnlMV09/0fG098RN3xrwgrFmw2jCThxPHBKI8wNxItXj910KMKf+cAcaMboapmS20LyyTYHOXEhp5vjm7D5vpSXiPuXb43fWIvDqmMclB8BUMx5RpYWziY4YADAeXI1DYvYopZK1icnu+BGRI1GvtvC/EV5sVcCAblEHACsNXYk2PP0ninar8JyorlhVZadLV6XnNCPvAhZeSmLs66a2m1H9pe88Q6+5sNGDF1L9NrcngcfCPw5jTvMdMVwqG9bufRgrSseFZJv07NzPYI9pe3vID4Fc+b3greeYcHgpvwqbro7glWV33qj4c7jCaNxFzHWQM7cXdMfNDyr58F7OgNyK8T56JCbM6mzbZV31zsCMFndXMKUtp7IJZKDSupOtLhPydToArXEjyY+24Fy+55FkZFHP31hot2trjbqB1ZNNsExSEHop4RlHtT6Wfyq+JgLQ0Q/wOJ+1SiZeNdsqbCPVS890WeInf4OG/TwdF7PUm4U7l7axkPRJ6ekmw7q3DD+Eaka+XSvBdYJ3jYZIcs/6gKLZQymrIxAoa495DWgBogXP8gMFzA== 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: MN2PR12MB4375.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d6ee4c13-f189-46f2-4f43-08d88a632f41 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Nov 2020 19:09:47.1482 (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: KT+DmBwROX4Hg/9urS02m0FnNXGfrslIEDtB15ByxpdbEQYBtRCVhKjXoxkPYAISKE+HqGaA4fJRBQUXaN7v4w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB4358 X-OriginatorOrg: Nvidia.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1605553791; bh=t1qWBCczedKsx/ysKAMvO71Wzlr5RVSUkpDxtWbqgAY=; 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-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=Ner28/yvgOQQgdxH+XG945zw/DBeJ8GKH084j5cpj1Jo9rW4wIrq6wrwBBLDa42+g N7V+6622okx1OVKIcgz5X04vWsLm92uDr1wKxviFva2/2k8PQEfQNxG+snZiMvH/wL 7sSblnwRykdH8UI7yB8Sv72F/TkjY8RTyldpUmHCrvlMEI0OwMvXso2WRD2BTzQyDQ 2shbcrDzYR+//CXPHdQAg3gtRjoAADPaD0NrZ2PHtOvEz2+i+N+747KpaHlWBCgboB 0CXtOr+gm+LWK1Z0bhJeMU5fa1C26i2AZKPIFU/eKqisOKube/eB4mSlyWe52Y/mW6 D6TlG6IqoukjQ== Subject: Re: [dpdk-dev] [PATCH 5/5] net/softnic: update headers size calculation 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" SGkgRmVycnVoLA0KDQpUaGUgZmFpbHVyZSBvY2N1ciBhdCBoYXNoX2tleV9tYXNrX2lzX3NhbWUo KSB3aGljaCB1c2VzIHRoZSBzaXplIHJldHVybmVkIGJ5IGZsb3dfaXRlbV9pc19wcm90bygpIGZv ciBjb21wYXJpc29uLg0KU2luY2UgdGhlIHJ0ZV9mbG93X2l0ZW1fKiBvZiBzb21lIHR5cGVzIGlz IG5vdyBkaWZmZXJlbnQgdGhhbiB0aGUgcnRlXypfaGRyIHNpemUgb2YgdGhlc2UgdHlwZXMsIG5l ZWQgdG8gdXNlIHRoZSBydGVfKl9oZHIgc2l6ZS4NCg0KUmVnYXJkcywNCkRla2VsDQoNCj4gLS0t LS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogRmVycnVoIFlpZ2l0IDxmZXJydWgueWln aXRAaW50ZWwuY29tPg0KPiBTZW50OiBNb25kYXksIE5vdmVtYmVyIDE2LCAyMDIwIDY6MjcgUE0N Cj4gVG86IFhpYW95dSBNaW4gPGphY2ttaW5AbWVsbGFub3guY29tPjsgSmFzdmluZGVyIFNpbmdo DQo+IDxqYXN2aW5kZXIuc2luZ2hAaW50ZWwuY29tPjsgQ3Jpc3RpYW4gRHVtaXRyZXNjdQ0KPiA8 Y3Jpc3RpYW4uZHVtaXRyZXNjdUBpbnRlbC5jb20+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