From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mohammad Abdul Awal Subject: Re: [PATCH] doc: deprecation notice for sched API change Date: Wed, 21 Nov 2018 09:39:16 +0000 Message-ID: <533a742b-be09-8bcc-d469-7d29f8cf5018@intel.com> References: <20181114153642.88575-1-jasvinder.singh@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: cristian.dumitrescu@intel.com To: Jasvinder Singh , dev@dpdk.org Return-path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id C770E5B2C for ; Wed, 21 Nov 2018 10:39:18 +0100 (CET) In-Reply-To: <20181114153642.88575-1-jasvinder.singh@intel.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 14/11/2018 15:36, Jasvinder Singh wrote: > There will be change in API functions because of mbuf sched field > updates, outlined in deprecation note of mbuf->hash.sched. > > Signed-off-by: Jasvinder Singh > Acked-by: Cristian Dumitrescu > --- > doc/guides/rel_notes/deprecation.rst | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst > index 34b28234c..b54598d07 100644 > --- a/doc/guides/rel_notes/deprecation.rst > +++ b/doc/guides/rel_notes/deprecation.rst > @@ -34,6 +34,11 @@ Deprecation Notices > is defined in librte_sched in a non-generic way. The new generic format > will contain: queue ID, traffic class, color. Field size will not change. > > +* sched: Some API functions will change prototype due to the above > + deprecation note for mbuf->hash.sched, e.g. rte_sched_port_pkt_write() and > + rte_sched_port_pkt_read() will likely have an additional parameter > + of type struct rte_sched_port. > + > * mbuf: the macro ``RTE_MBUF_INDIRECT()`` will be removed in v18.08 or later and > replaced with ``RTE_MBUF_CLONED()`` which is already added in v18.05. As > ``EXT_ATTACHED_MBUF`` is newly introduced in v18.05, ``RTE_MBUF_INDIRECT()`` Acked-by: Mohammad Abdul Awal