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 7E26BA04E6; Tue, 17 Nov 2020 16:44:05 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D3ABF37B1; Tue, 17 Nov 2020 16:44:03 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 849C9F90 for ; Tue, 17 Nov 2020 16:44:01 +0100 (CET) IronPort-SDR: wN5SVoragNDOZtHYuUwHAEOvdvCzye9EH226d6KG4XphjHwGr97GLBbrJENXYGQvdPJCDtZxb+ k58rVS47biiA== X-IronPort-AV: E=McAfee;i="6000,8403,9808"; a="170163135" X-IronPort-AV: E=Sophos;i="5.77,485,1596524400"; d="scan'208";a="170163135" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Nov 2020 07:43:59 -0800 IronPort-SDR: lT8OFVgu5deuO0OJgJjiYh+pfwsGTHdEbZw20hEOGFzvSTBtiIrfD/eMSkr4K3fzJ/37zrgp78 DjFEzk29juJQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,485,1596524400"; d="scan'208";a="358942265" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by fmsmga004.fm.intel.com with ESMTP; 17 Nov 2020 07:43:59 -0800 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Tue, 17 Nov 2020 07:43:59 -0800 Received: from fmsmsx607.amr.corp.intel.com (10.18.126.87) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Tue, 17 Nov 2020 07:43:58 -0800 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx607.amr.corp.intel.com (10.18.126.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Tue, 17 Nov 2020 07:43:58 -0800 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.173) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Tue, 17 Nov 2020 07:43:57 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=e0yHBDc1lx1srIJ07jwAhNqR40o6MQmoz9dmZ3wpBNgq8hPCGZiqtaPK7kBK+LVqfoGVuymw82hHwpvbg5jcSsx8ruiwgQss/ABh/2fBXQR+j36jSyxKxKA0fws2MWgxnsBbrIpXJk3wvw2D8eJfoHZcJxokllVLjf2VDXuYfh+kVhqYFSt1ZckXnKzmdw0F+BtyCYRZBKqeh6K5OEt29VEzREJ5AfDV9B6AnNuv0kXnMdPQoNP/xAnArwxjc/tZ7BSwJUbCknFxdJ3TwHrvXD/TauI6nPXcqHPW0m8tuuth2aKF2NcF0Rdh2pcaQKbkJgf1wScFAeBvMLYy0nzJRA== 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=XcvvC8AiV7AeJKTWDL+w1Q/A6JaldiPUxc901gq//SM=; b=GfwllT2Awslv1gP4jfLt89tF2V/7xdE3NQm9KEYb3JHvhUVdkeR2AyXpb1zZPLZC7Od8AhwA+OIovSK83/SSU8b/5xpDmkyWTfVVxNlwBCVArx69IQurPPpl/fbLnKU5ndGy90rykWfy+mGNRrRyxrRbuFXKOq3UQgJSS+f+cGI71zVuDHqwnvkv+rwidpR1hqPIHJE/MBRRW2MTkpLbNAmdoFxVdHdJUuzsXqUK4HB7H2nI8c/38KhcwSleiqHn32lWVpqCEeS5So5mbzXv/hZdcQ5k5eOYW3cI0PXLw2O8CZ1s8jzMvHsl7juckouAbAOYXmCQ0oJDqhOJbfqbXQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=XcvvC8AiV7AeJKTWDL+w1Q/A6JaldiPUxc901gq//SM=; b=MhafyNkk/FowBqezWL657lV1xQJ5gt7xD4AVChPijNZjOEnkbYZzFVeN+BdG4xRUy0wwN2Rixd2itkV1EQnbXgsqdsZ9YWOfcGdSHo6iyYIrxJpYYUr78O/ETdkkgkAQWmZ9plWH7S2MTax2Jucan6Ni0O7p46HwwkqZxQlCmHE= Received: from CY4PR1101MB2134.namprd11.prod.outlook.com (2603:10b6:910:19::22) by CY4PR11MB1543.namprd11.prod.outlook.com (2603:10b6:910:c::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3541.23; Tue, 17 Nov 2020 15:43:55 +0000 Received: from CY4PR1101MB2134.namprd11.prod.outlook.com ([fe80::e9bd:8065:37db:4b8d]) by CY4PR1101MB2134.namprd11.prod.outlook.com ([fe80::e9bd:8065:37db:4b8d%7]) with mapi id 15.20.3564.028; Tue, 17 Nov 2020 15:43:55 +0000 From: "Singh, Jasvinder" To: Dekel Peled , "Yigit, Ferruh" , Xiaoyu Min , "Dumitrescu, Cristian" CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH 5/5] net/softnic: update headers size calculation Thread-Index: AQHWu+3plzVrl1mqxUyB+l3ayLYGr6nK8tiAgAAtZYCAAQEpAIAAJI2AgAAytQA= Date: Tue, 17 Nov 2020 15:43:54 +0000 Message-ID: References: <0bbc7b578dc8ad9348e802e2553de977805f80db.1605493464.git.jackmin@nvidia.com> <41f0fbac-59e5-bddb-3e4d-744da727bd7c@intel.com> In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.5.1.3 dlp-reaction: no-action dlp-product: dlpe-windows authentication-results: nvidia.com; dkim=none (message not signed) header.d=none;nvidia.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [93.107.24.163] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: cfe42895-d65e-440a-7ffb-08d88b0f973c x-ms-traffictypediagnostic: CY4PR11MB1543: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:383; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: TnGngV5jvrM1FHNe4f51YBxJx3H2leo4H0234hpVeIdHhFs9RFqJXCuSfKM6nr6fC2U2e8esoTs2E6IxnU8PPxi/veOXFNPXVTvjrHDUMFlCS3yVWLeuW0B2AV2xBzuK63FY/c7NLxS2cN2m3GL3JLZepMs688ZR+2o+mBJwHUrczglUnwyh1n61qtVBdIqAvQwiUt3kOH1fYWwM3NRPIU8LQgGjKAqI+32gqUUQKH4JXoUvAZIlLtU9eyEzPFFplhpDMq0wYzawQTj1wJlDaxiyKwAOrbyR43DA1MkxMRd4wccyjP5XsTJVWV2uhu6wXXV0JIjVHfmPcDMAnj7Q5Q== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CY4PR1101MB2134.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(39860400002)(366004)(396003)(376002)(136003)(86362001)(6636002)(4326008)(2906002)(83380400001)(478600001)(316002)(186003)(52536014)(110136005)(66476007)(71200400001)(55016002)(9686003)(33656002)(6506007)(76116006)(53546011)(7696005)(26005)(66946007)(66556008)(5660300002)(8936002)(8676002)(64756008)(66446008)(15650500001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: bYWVKyVZ14/UFIsJvjnimVXy8vyaOudpc0ZhnyNxVYuudi8lDxWg3XC3J3WJTn6Sq39l7gOXjdxQD/f+6T7gYow0pHP6o6fo7m8eqUW/N7FevBq6NKxNVvoB74gM6KbTwwWwd9k9rx4+N3VmLeKhNfUqwQb15brLShhP7ddl2JzcS7Dy7zbM/OEdU/NJbuoSxIgA72wgvA48UxXR78NIzlvXwYEbFt4UlNfBkRa0HgQ5eVS4O5PxpKEUIY8Bo+OLA2f1/FXFD0cVBAjKF0aqMGHgbdi/MHC8zJMZ4RB0vYgmjQ73hPKFiCFpmbanw1zIAtwVKT6aQakqBb4JRRMuPkJhSplTIDqmCCBhPsh/dcUHluFFHSw72je43f6NjsGOIvbj3cjw/fZUkSb/mibDdBS/QJTc0TOGsNqe+/YB3oRRE5uPy8Pzdp9wVc4K8u0myovnCuWeCQu45Hlf7f9pBntBwijirxQ/BgAr9SY5ZuE46nQFHZ9/AqcKTLSeAV5NNL32jCAPyIFEkpp1OUIL9jv1S0mfmdD7KERICAKur8QfvVTvQSlJr0SpvywY3L0iTmsZsCkwwKnB33xP1JHvuenjbr5sS24o47u5O/c3cosPnQyuOPtPWDvN6Xw+1WElslFz1pR79KeN+M1rNnUKsD2/fo8reCCtw77si7DFXEUWIQ6j6lIuvMyN0SG+Y71V3cHWWaoFAiXD3QNq4wjWuLi/KGGs0+KTFnCHScJF+G4QMjtqR/9AXizuJuq7pFpL7sJZcoFNx77ppS9L415WJruqJakAI0qCwFSY6sKz7WWYZmazETLq1tvVOsG8DT8By4EwtGF0ckFap2oHLoDVG1Vq2/1NZcZTkk4dcEWIuNx+Hyt8oeN3BLsUYyd85VooYvBpdy3lDYdhJBTSrhLDcw== 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: CY4PR1101MB2134.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: cfe42895-d65e-440a-7ffb-08d88b0f973c X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Nov 2020 15:43:54.9430 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: BUJXgvB/4XkUiUQyKewQZguqyk8a1K8IU7lh19V+qVzwKldyy8NWCqYP8ytBiYAI15SPi6hHdIHSazMmKZ9rTVWGshAodVEYeuhd3u2H37o= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR11MB1543 X-OriginatorOrg: intel.com 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" DQoNCjxzbmlwPg0KPiA+ID4+DQo+ID4gPj4gT24gMTEvMTYvMjAyMCA3OjU1IEFNLCBYaWFveXUg TWluIHdyb3RlOg0KPiA+ID4+PiBGcm9tOiBEZWtlbCBQZWxlZCA8ZGVrZWxwQG52aWRpYS5jb20+ DQo+ID4gPj4+DQo+ID4gPj4+IFRoZSBydGVfZmxvd19pdGVtX2V0aCBhbmQgcnRlX2Zsb3dfaXRl bV92bGFuIGl0ZW1zIH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