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 172ADA0513 for ; Wed, 15 Jan 2020 17:40:54 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A72E11C21B; Wed, 15 Jan 2020 17:40:53 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 13E9C1C219 for ; Wed, 15 Jan 2020 17:40:51 +0100 (CET) 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/DHE-RSA-AES256-GCM-SHA384; 15 Jan 2020 08:40:51 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,323,1574150400"; d="scan'208";a="248465724" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga004.fm.intel.com with ESMTP; 15 Jan 2020 08:40:51 -0800 Received: from fmsmsx155.amr.corp.intel.com (10.18.116.71) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 15 Jan 2020 08:40:51 -0800 Received: from FMSEDG002.ED.cps.intel.com (10.1.192.134) by FMSMSX155.amr.corp.intel.com (10.18.116.71) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 15 Jan 2020 08:40:50 -0800 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.109) by edgegateway.intel.com (192.55.55.69) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 15 Jan 2020 08:40:48 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UFANcLZB75QYcLh4gf9C9C9qcbScS2eZ065vQ0bXYyY5FaPGmr3HG5WuktHCyjwl6Sbm9VEAjRh//nmsMW5uh8YwCfPzWEB6IG0kvVlETVgu1noi52iQuWRDTEEcjLpPUWFtBbe68oIbn24RzJFQJbF+3KhAz2bqISo1sTtaceqxEAsHDx4q8CgSosQJtvf0dD846+4NlKcgZYKvnZJIiLdY5fVjgdPSK5i8nCkRLWq6E0w1ON/MR68QN1BNZ3efBZ6Wo3Cw04VvlUFQIxJLkbbWQxeeBKmfKQAnkzQe+0L3PeAz3dkd3vJX4GaVxL/eB+fxb8SlA+ayBf6q16arqA== 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=7ti5RmI7HmNK9Ym2eEX2MNRC5Ge8l/RZfNAkymCezAA=; b=DIdiOVlEXca/S1nLdP3vfSDP5a1MPhp0gGV/00P0ty+CiH0VwmidJQa/GIzeTCk4I1rs3A0QJAXekhmEzDffzzIP2dOFHoJaTdF2q5lsHDPvypZI3lmS0G9f6FuTynF1nk17PxHvTK7Od6hM8rMr4gFn84bxD3orgbkfIgH8GMsB7bmnJhzvOYi8KW2pAPnCIJtybf5Pgc6hW7BiSNxUADUr9kFn7nsELLl5IleDMIPbod2D32/pLzoK+UckEeKDRvvBzt/VmKN15l1JAFn/2M9JcYFNUxp/wdIdaoJqVlmfd+BTHQTljwrEj7clez6Kx7b34/uVkg14OboFKD/HHA== 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=7ti5RmI7HmNK9Ym2eEX2MNRC5Ge8l/RZfNAkymCezAA=; b=LONtfnr7URiZCzFOzL6+GeXdvBWzf1Tnlx7ujUOlieU1KCkBxSLM2zso9IYdZF1/yT5TFqeHGhK8ZPoeVrLGB6NAaNHoB3RC9QyU/k2GkQ+j6luWpjRfzh4Kw7O3XUurZDv3HHQYv36lHdOX3mlPXsiCBXuTGmag62xsBHtJsKE= Received: from BL0PR11MB3268.namprd11.prod.outlook.com (10.167.234.158) by BL0PR11MB3396.namprd11.prod.outlook.com (10.167.240.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2644.19; Wed, 15 Jan 2020 16:40:47 +0000 Received: from BL0PR11MB3268.namprd11.prod.outlook.com ([fe80::e531:ec27:a648:56d4]) by BL0PR11MB3268.namprd11.prod.outlook.com ([fe80::e531:ec27:a648:56d4%4]) with mapi id 15.20.2623.017; Wed, 15 Jan 2020 16:40:47 +0000 From: "Girard, Guillaume" To: "users@dpdk.org" Thread-Topic: rte_pktmbuf_free does not reset headroom Thread-Index: AdXLwFbHYUX8kwe5Sua3Y5gffsLXqw== Date: Wed, 15 Jan 2020 16:40:47 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiM2NjOGU5MTMtYzg1MC00MTU0LTg3ZWYtZTkyOGIyM2ZjYTc0IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiVUhNME45YXJtcDJzRnlSVkhVREM1TUkyMUdFN29RdzNPemtPVHVvMUxxVG1jdU40M2NCSm9NOURCdjJ5dE5JWiJ9 dlp-version: 11.2.0.6 dlp-product: dlpe-windows x-ctpclassification: CTP_NT dlp-reaction: no-action authentication-results: spf=none (sender IP is ) smtp.mailfrom=guillaume.girard@intel.com; x-originating-ip: [134.191.221.96] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 64a5ba8b-45d9-4594-0a7a-08d799d9ac91 x-ms-traffictypediagnostic: BL0PR11MB3396: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5797; x-forefront-prvs: 02830F0362 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(346002)(366004)(39860400002)(396003)(136003)(376002)(189003)(199004)(2906002)(558084003)(6916009)(478600001)(81156014)(81166006)(6506007)(5660300002)(9686003)(26005)(8936002)(8676002)(76116006)(66446008)(7696005)(66556008)(52536014)(66476007)(66946007)(64756008)(55016002)(186003)(86362001)(316002)(33656002)(71200400001); DIR:OUT; SFP:1102; SCL:1; SRVR:BL0PR11MB3396; H:BL0PR11MB3268.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: KTaLwxt2WeSFB99MSCHWGBB1FDNv0+8hJ+MfrasLIVikx/0J6owbEwoh9qfvCuEp2vDYceXpne8XtfwvSJXwcwZM3LWWd06+C9QLKYUKYtf6vbOTefsCO04Nu0tdRafiIuhH1qR7bbBtTjwzqUhAaAJ9ZEXDTLI5y0dwBypPZ3/zWOzjRFxhEmjGVBJsqTNh3hOunttxBHM3O2fzBjwJif2NrZANwiJi1A109HW9w4AoqeBhoSIynEMjQkZ1fRu5hD3QCVvi51dKZOdevOtI4qmEZNvZ792r+Zb7FNyf41ZULx9ec+AXYK0H48Fu3apIDT7rilBaw0T92YlbUS0zQtCbl3V+j08ol5od4xqh8Dbd85NS5Igx6MRAFM8fWKHFic1d+YKkgR+bIKW0WlWQVlR0YV21rHKqbh9Q7uwxew3wIAMbCnB602SRUMO+4GiF x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 64a5ba8b-45d9-4594-0a7a-08d799d9ac91 X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Jan 2020 16:40:47.7104 (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: 3JrLshtqCdMFRAaVEJcarO8HdcSsu/7iGzyzapxxor3FVeScu9Sgf6RAl/Z9hkeSSzQUTO71D2opAYcObwwgkpd5vPY4Cu3ACgC9+CC8DOs= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR11MB3396 X-OriginatorOrg: intel.com Content-Transfer-Encoding: quoted-printable Subject: [dpdk-users] rte_pktmbuf_free does not reset headroom X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" Hi, >From my experiments prepending data to an mbuf, rte_pktmbuf_free() does not= reset the headroom. Is that intended? Thanks, Guillaume Intel Deutschland GmbH Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany Tel: +49 89 99 8853-0, www.intel.de Managing Directors: Christin Eisenschmid, Gary Kershaw Chairperson of the Supervisory Board: Nicole Lau Registered Office: Munich Commercial Register: Amtsgericht Muenchen HRB 186928