[dpdk-dev] [PATCH v6 2/2] mbuf: implement generic format for sched field
konstantin.ananyev at intel.com
Wed Dec 19 19:14:33 CET 2018
> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Reshma Pattan
> Sent: Wednesday, December 19, 2018 3:43 PM
> To: dev at dpdk.org; jerin.jacob at caviumnetworks.com; Rao, Nikhil <nikhil.rao at intel.com>; olivier.matz at 6wind.com;
> thomas at monjalon.net; Singh, Jasvinder <jasvinder.singh at intel.com>; Dumitrescu, Cristian <cristian.dumitrescu at intel.com>
> Cc: Pattan, Reshma <reshma.pattan at intel.com>
> Subject: [dpdk-dev] [PATCH v6 2/2] mbuf: implement generic format for sched field
> This patch implements the changes proposed in the deprecation
> notes .
> librte_mbuf changes:
> The mbuf::hash::sched field is updated to support generic
> definition in line with the ethdev TM and MTR 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.
> (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 uses mbuf::hash::txadapter.txq.
> Release notes updated.
> Removed deprecation notice for mbuf::hash::sched and sched API.
>  http://mails.dpdk.org/archives/dev/2018-February/090651.html
>  https://mails.dpdk.org/archives/dev/2018-November/119051.html
> Signed-off-by: Jasvinder Singh <jasvinder.singh at intel.com>
> Signed-off-by: Reshma Pattan <reshma.pattan at intel.com>
> Acked-by: Cristian Dumitrescu <cristian.dumitrescu at intel.com>
> v6: added scheduler comment
> Removed librte_meter from librte_mbuf dependency list.
> Changed the mbuf set/get functions to use uint8_t for color.
> v4: converted mbuf::hash::sched as instantiation of rte_mbuf_sched.
> v3: addressed review comments given in the below link.
> Updated library ABI versioning in meson build.
Acked-by: Konstantin Ananyev <konstantin.ananyev at intel.com>
More information about the dev