numam-dpdk/lib/librte_eventdev
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
..
Makefile eventdev: fix port id argument in Rx adapter caps 2018-10-01 16:53:13 +02:00
meson.build eventdev: fix port id argument in Rx adapter caps 2018-10-01 16:53:13 +02:00
rte_event_crypto_adapter.c cryptodev: rename experimental private data APIs 2018-07-11 03:57:24 +02:00
rte_event_crypto_adapter.h eventdev: introduce event crypto adapter 2018-05-10 14:03:57 +02:00
rte_event_eth_rx_adapter.c eventdev: fix error log in eth Rx adapter 2018-12-16 17:22:14 +01:00
rte_event_eth_rx_adapter.h eventdev: fix eth Rx adapter hotplug incompatibility 2018-10-01 16:47:56 +02:00
rte_event_eth_tx_adapter.c eventdev: fix eth Tx adapter queue count checks 2018-12-17 20:25:10 +01:00
rte_event_eth_tx_adapter.h mbuf: implement generic format for sched field 2018-12-22 00:22:44 +01:00
rte_event_ring.c event: fix ring init failure handling 2018-08-05 14:52:19 +02:00
rte_event_ring.h eventdev: fix MP/MC tail updates in event ring 2018-04-16 10:10:27 +02:00
rte_event_timer_adapter_pmd.h eventdev: add timer adapter common code 2018-04-16 11:04:46 +02:00
rte_event_timer_adapter.c remove useless constructor headers 2018-07-12 00:00:35 +02:00
rte_event_timer_adapter.h eventdev: remove redundant timer adapter function prototypes 2018-12-16 17:22:14 +01:00
rte_eventdev_pmd_pci.h lib: fix missing includes in exported headers 2018-01-17 00:31:05 +01:00
rte_eventdev_pmd_vdev.h lib: fix missing includes in exported headers 2018-01-17 00:31:05 +01:00
rte_eventdev_pmd.h lib: reduce global variable usage 2018-10-29 02:34:27 +01:00
rte_eventdev_version.map eventdev: add eth Tx adapter implementation 2018-10-01 16:51:13 +02:00
rte_eventdev.c lib: reduce global variable usage 2018-10-29 02:34:27 +01:00
rte_eventdev.h eventdev: fix xstats documentation typo 2018-12-16 18:28:07 +01:00