From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 2A96EA547 for ; Fri, 5 Sep 2014 18:12:52 +0200 (CEST) Received: from azsmga001.ch.intel.com ([10.2.17.19]) by orsmga101.jf.intel.com with ESMTP; 05 Sep 2014 09:17:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.04,474,1406617200"; d="scan'208";a="475485919" Received: from irsmsx103.ger.corp.intel.com ([163.33.3.157]) by azsmga001.ch.intel.com with ESMTP; 05 Sep 2014 09:17:37 -0700 Received: from irsmsx154.ger.corp.intel.com (163.33.192.96) by IRSMSX103.ger.corp.intel.com (163.33.3.157) with Microsoft SMTP Server (TLS) id 14.3.195.1; Fri, 5 Sep 2014 17:17:36 +0100 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.157]) by IRSMSX154.ger.corp.intel.com ([169.254.12.233]) with mapi id 14.03.0195.001; Fri, 5 Sep 2014 17:17:36 +0100 From: "De Lara Guarch, Pablo" To: "Richardson, Bruce" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v3 4/6] mbuf: remove the rte_pktmbuf structure Thread-Index: AQHPyEPj+icO2KrCJ0WyC585o96lKZvyuSDw Date: Fri, 5 Sep 2014 16:17:35 +0000 Message-ID: References: <1409240559-14447-5-git-send-email-bruce.richardson@intel.com> <1409837138-4401-1-git-send-email-bruce.richardson@intel.com> In-Reply-To: <1409837138-4401-1-git-send-email-bruce.richardson@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v3 4/6] mbuf: remove the rte_pktmbuf structure X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Sep 2014 16:12:53 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Bruce Richardson > Sent: Thursday, September 04, 2014 2:26 PM > To: dev@dpdk.org > Subject: [dpdk-dev] [PATCH v3 4/6] mbuf: remove the rte_pktmbuf > structure >=20 > From: Olivier Matz >=20 > The rte_pktmbuf structure was initially included in the rte_mbuf > structure. This was needed when there was 2 types of mbuf (ctrl and > packet). As the control mbuf has been removed, we can merge the > rte_pktmbuf into the rte_mbuf structure. >=20 > Advantages of doing this: > - the access to mbuf fields is easier (ex: m->data instead of m->pkt.da= ta) > - make the structure more consistent: for instance, there was no reason > to have the ol_flags field in rte_mbuf > - it will allow a deeper reorganization of the rte_mbuf structure in th= e > next commits, allowing to gain several bytes in it >=20 > Signed-off-by: Olivier Matz >=20 > Updated to work with latest code, and to include new example apps. >=20 > Changes in V2: > * Further updates to apply to latest HEAD on master >=20 > Changes in V3: > * Updated to compile cleanly on 1.7.1 >=20 > Signed-off-by: Bruce Richardson Acked-by Pablo de Lara