numam-dpdk/examples/qos_sched
Reshma Pattan 5d3f721009 mbuf: implement generic format for sched field
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 <jasvinder.singh@intel.com>
Signed-off-by: Reshma Pattan <reshma.pattan@intel.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
Tested-by: Nikhil Rao <nikhil.rao@intel.com>
Reviewed-by: Nikhil Rao <nikhil.rao@intel.com>
2018-12-22 00:22:44 +01:00
..
app_thread.c mbuf: implement generic format for sched field 2018-12-22 00:22:44 +01:00
args.c examples: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
cfg_file.c examples: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
cfg_file.h examples: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
cmdline.c examples: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
init.c ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
main.c mbuf: implement generic format for sched field 2018-12-22 00:22:44 +01:00
main.h examples: increase default ring sizes to 1024 2018-02-01 00:10:42 +01:00
Makefile mk: build with _GNU_SOURCE defined by default 2018-10-22 11:28:27 +02:00
meson.build ethdev: remove experimental flag of ports enumeration 2018-04-27 18:00:24 +01:00
profile_ov.cfg remove trailing whitespaces 2014-06-11 00:29:34 +02:00
profile.cfg doc: drop old naming of the project 2016-02-10 15:47:51 +01:00
stats.c examples: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00