From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 7002DC32C for ; Thu, 16 Jul 2015 14:30:14 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga103.jf.intel.com with ESMTP; 16 Jul 2015 05:30:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,488,1432623600"; d="scan'208";a="765614182" Received: from irsmsx105.ger.corp.intel.com ([163.33.3.28]) by orsmga002.jf.intel.com with ESMTP; 16 Jul 2015 05:30:13 -0700 Received: from irsmsx107.ger.corp.intel.com ([169.254.10.39]) by irsmsx105.ger.corp.intel.com ([169.254.7.245]) with mapi id 14.03.0224.002; Thu, 16 Jul 2015 13:30:12 +0100 From: "Mrzyglod, DanielX T" To: "Dumitrescu, Cristian" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] doc: announce ABI change for librte_port Thread-Index: AQHQv8HBh7O5+jJNc0mV4IvuhMyWL53eBr3Q Date: Thu, 16 Jul 2015 12:30:12 +0000 Message-ID: <7ADD74816B4C8A45B56203CBA65FE5A61D910162@IRSMSX107.ger.corp.intel.com> References: <1437049176-6866-1-git-send-email-cristian.dumitrescu@intel.com> In-Reply-To: <1437049176-6866-1-git-send-email-cristian.dumitrescu@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] doc: announce ABI change for librte_port 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: Thu, 16 Jul 2015 12:30:14 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Cristian Dumitrescu > Sent: Thursday, July 16, 2015 2:20 PM > To: dev@dpdk.org > Subject: [dpdk-dev] [PATCH] doc: announce ABI change for librte_port >=20 >=20 > Signed-off-by: Cristian Dumitrescu > --- > doc/guides/rel_notes/abi.rst | 12 ++++++++++++ > 1 files changed, 12 insertions(+), 0 deletions(-) >=20 > diff --git a/doc/guides/rel_notes/abi.rst b/doc/guides/rel_notes/abi.rst > index 9e98d62..271e08e 100644 > --- a/doc/guides/rel_notes/abi.rst > +++ b/doc/guides/rel_notes/abi.rst > @@ -34,3 +34,15 @@ Deprecation Notices > creates a dummy/empty malloc library to fulfill binaries with dynamic = linking > dependencies on librte_malloc.so. Such dummy library will not be creat= ed from > release 2.2 so binaries will need to be rebuilt. > + > +* librte_port (rte_port.h): Macros to access the packet meta-data stored= within > + the packet buffer will be adjusted to cover the packet mbuf structure = as well, > + as currently they are able to access any packet buffer location except= the > + packet mbuf structure. The consequence is that applications currently = using > + these macros will have to adjust the value of the offset parameter of = these > + macros by increasing it with sizeof(struc rte_mbuf). The affected macr= os are: > + RTE_MBUF_METADATA_UINT<8, 16, 32, 64>_PTR and > + RTE_MBUF_METADATA_UINT<8, 16, 32, 64>. In terms of code changes, most > likely > + only the definition of RTE_MBUF_METADATA_UINT8_PTR macro will be > changed from > + ``(&((uint8_t *) &(mbuf)[1])[offset])`` to > + ``(&((uint8_t *) (mbuf))[offset])``. > -- > 1.7.4.1 > 1.7.4.1 Acked-by: Daniel Mrzyglod