numam-dpdk/examples
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
..
bbdev_app ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
bond examples/bond: fix crash when there is no active slave 2018-12-13 16:32:10 +00:00
cmdline mk: build with _GNU_SOURCE defined by default 2018-10-22 11:28:27 +02:00
distributor examples: fix RSS hash function configuration 2018-07-05 15:46:48 +02:00
ethtool mk: build with _GNU_SOURCE defined by default 2018-10-22 11:28:27 +02:00
eventdev_pipeline examples/eventdev_pipeline: support Tx adapter 2018-10-01 16:52:47 +02:00
exception_path ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
fips_validation examples/fips_validation: fix uninitialized access 2018-11-07 14:53:36 +01:00
flow_classify ethdev: remove old offload API 2018-07-04 21:50:32 +02:00
flow_filtering examples/flow_filtering: fix capability setting 2018-11-14 00:35:53 +01:00
helloworld build: replace license text with SPDX tag 2018-01-30 21:58:59 +01:00
ip_fragmentation ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
ip_pipeline examples/ip_pipeline: fix null pointer dereference 2018-11-12 17:45:31 +01:00
ip_reassembly ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
ipsec-secgw examples/ipsec-secgw: fix wrong session size 2018-09-25 17:57:25 +02:00
ipv4_multicast examples/ipv4_multicast: remove useless mbuf info copy 2018-12-19 22:27:32 +01:00
kni examples/kni: improve zeroing statistics 2018-10-26 19:46:29 +02:00
l2fwd ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
l2fwd-cat mk: build with _GNU_SOURCE defined by default 2018-10-22 11:28:27 +02:00
l2fwd-crypto ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
l2fwd-jobstats ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
l2fwd-keepalive ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
l3fwd ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
l3fwd-acl ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
l3fwd-power examples/l3fwd-power: fix power library fallback 2018-11-14 04:39:56 +01:00
l3fwd-vf ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
link_status_interrupt ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
load_balancer mk: build with _GNU_SOURCE defined by default 2018-10-22 11:28:27 +02:00
multi_process examples/multi_process: add sigint handler to server 2018-11-04 21:54:04 +01:00
netmap_compat ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
packet_ordering ethdev: remove old offload API 2018-07-04 21:50:32 +02:00
performance-thread mk: build with _GNU_SOURCE defined by default 2018-10-22 11:28:27 +02:00
ptpclient ethdev: remove old offload API 2018-07-04 21:50:32 +02:00
qos_meter ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
qos_sched mbuf: implement generic format for sched field 2018-12-22 00:22:44 +01:00
quota_watermark ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
rxtx_callbacks ethdev: remove old offload API 2018-07-04 21:50:32 +02:00
server_node_efd examples: make Linux environment check consistent 2018-07-12 09:48:12 +02:00
service_cores examples/service_cores: check cores before run 2018-10-29 03:05:15 +01:00
skeleton ethdev: remove old offload API 2018-07-04 21:50:32 +02:00
tep_termination mk: build with _GNU_SOURCE defined by default 2018-10-22 11:28:27 +02:00
timer build: replace license text with SPDX tag 2018-01-30 21:58:59 +01:00
vdpa examples/vdpa: fix spelling in error message 2018-10-26 22:14:05 +02:00
vhost mk: build with _GNU_SOURCE defined by default 2018-10-22 11:28:27 +02:00
vhost_crypto examples/vhost_crypto: fix bracket 2018-12-13 18:17:42 +00:00
vhost_scsi mk: build with _GNU_SOURCE defined by default 2018-10-22 11:28:27 +02:00
vm_power_manager examples/power: increase max cores to 256 2018-12-19 22:24:36 +01:00
vmdq ethdev: remove old offload API 2018-07-04 21:50:32 +02:00
vmdq_dcb examples: fix RSS hash function configuration 2018-07-05 15:46:48 +02:00
Makefile examples/fips_validation: fix build 2018-11-05 21:04:18 +01:00
meson.build mk: build with _GNU_SOURCE defined by default 2018-10-22 11:28:27 +02:00