From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id C64A8A547 for ; Fri, 5 Sep 2014 18:10:59 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga101.fm.intel.com with ESMTP; 05 Sep 2014 09:15:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.97,862,1389772800"; d="scan'208";a="381984052" Received: from irsmsx104.ger.corp.intel.com ([163.33.3.159]) by FMSMGA003.fm.intel.com with ESMTP; 05 Sep 2014 09:10:58 -0700 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.157]) by IRSMSX104.ger.corp.intel.com ([163.33.3.159]) with mapi id 14.03.0195.001; Fri, 5 Sep 2014 17:15:43 +0100 From: "De Lara Guarch, Pablo" To: "Richardson, Bruce" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v2 4/6] mbuf: remove the rte_pktmbuf structure Thread-Index: AQHPwtbbWivGixzWR0iyeslK++n7Hpvyw3Pg Date: Fri, 5 Sep 2014 16:15:43 +0000 Message-ID: References: <1409154628-30825-1-git-send-email-bruce.richardson@intel.com> <1409240559-14447-5-git-send-email-bruce.richardson@intel.com> In-Reply-To: <1409240559-14447-5-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 v2 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:11:00 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Bruce Richardson > Sent: Thursday, August 28, 2014 4:43 PM > To: dev@dpdk.org > Subject: [dpdk-dev] [PATCH v2 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 > Signed-off-by: Bruce Richardson Acked-by Pablo de Lara