From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.droids-corp.org (zoll.droids-corp.org [94.23.50.67]) by dpdk.org (Postfix) with ESMTP id CAA3A1BC73 for ; Thu, 20 Dec 2018 13:43:21 +0100 (CET) Received: from rsa59-2-82-233-193-189.fbx.proxad.net ([82.233.193.189] helo=droids-corp.org) by mail.droids-corp.org with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gZxhG-0007VT-Am; Thu, 20 Dec 2018 13:45:03 +0100 Received: by droids-corp.org (sSMTP sendmail emulation); Thu, 20 Dec 2018 13:43:19 +0100 Date: Thu, 20 Dec 2018 13:43:19 +0100 From: Olivier Matz To: Reshma Pattan Cc: dev@dpdk.org, jerin.jacob@caviumnetworks.com, nikhil.rao@intel.com, thomas@monjalon.net, jasvinder.singh@intel.com, cristian.dumitrescu@intel.com, konstantin.ananyev@intel.com Message-ID: <20181220124319.areihw6kffgohtx7@platinum> References: <20181219154237.836-1-reshma.pattan@intel.com> <20181220121609.16314-1-reshma.pattan@intel.com> <20181220121609.16314-2-reshma.pattan@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181220121609.16314-2-reshma.pattan@intel.com> User-Agent: NeoMutt/20170113 (1.7.2) Subject: Re: [dpdk-dev] [PATCH v7 2/2] mbuf: implement generic format for sched field X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Dec 2018 12:43:21 -0000 On Thu, Dec 20, 2018 at 12:16:09PM +0000, Reshma Pattan wrote: > This patch implements the changes proposed in the deprecation > notes [1][2]. > > librte_mbuf changes: > The mbuf->hash.sched field is updated to support generic > definition in line with the ethdev traffic manager and meter APIs. > The new generic format contains: queue ID, traffic class, color. > > Added public APIs to set and get these new fields to and from mbuf. > > librte_sched changes: > In addtion, following API functions of the sched library have > been modified with an additional parameter of type struct > rte_sched_port to accommodate the changes made to mbuf sched field. > (i)rte_sched_port_pkt_write() > (ii) rte_sched_port_pkt_read_tree_path() > > librte_pipeline, qos_sched UT, qos_sched app are updated > to make use of new changes. > > Also mbuf->hash.txadapter has been added for eventdev txq, > rte_event_eth_tx_adapter_txq_set and rte_event_eth_tx_adapter_txq_get() > are updated to use mbuf->hash.txadapter.txq. > > doc: > Release notes updated. > Removed deprecation notice for mbuf->hash.sched and sched API. > > [1] http://mails.dpdk.org/archives/dev/2018-February/090651.html > [2] https://mails.dpdk.org/archives/dev/2018-November/119051.html > > Signed-off-by: Jasvinder Singh > Signed-off-by: Reshma Pattan > Acked-by: Cristian Dumitrescu > Acked-by: Konstantin Ananyev Acked-by: Olivier Matz Thanks