numam-dpdk/examples
Marcin Kerlin 930cd79735 jobstats: add abort function
This patch adds new function rte_jobstats_abort.
It marks *job* as finished and time of this work will be add to management
time instead of execution time.
This function should be used instead of rte_jobstats_finish if condition
occurs, condition is defined by the application for example when receiving
n>0 packets.
Example of usage is added to the example l2fwd-jobstats.
At maximum load do-while loop inside Idle job will be execute once because
one or more jobs waiting to be executed, so this time should not be include
as the execution time by calling rte_jobstats_abort().

Signed-off-by: Marcin Kerlin <marcinx.kerlin@intel.com>
Acked-by: Fan Zhang <roy.fan.zhang@intel.com>
2016-02-29 11:22:53 +01:00
..
bond examples/bond: fix FreeBSD build 2015-12-07 03:21:13 +01:00
cmdline examples: fix whitespace 2015-06-12 11:10:10 +02:00
distributor examples/distributor: fix build for non-x86 arch 2016-02-16 07:21:31 +01:00
dpdk_qat replace bzero with memset 2015-12-07 04:57:16 +01:00
ethtool examples/ethtool: fix build 2016-02-16 07:33:44 +01:00
exception_path apps: use helper to create mbuf pools 2015-04-28 11:34:10 +02:00
helloworld tailq: remove unneeded inclusions 2015-03-10 11:47:46 +01:00
ip_fragmentation mbuf: remove packet type from offload flags 2015-09-03 19:22:48 +02:00
ip_pipeline examples/ip_pipeline: fix build for x86_64 without SSE4.2 2016-02-16 07:33:43 +01:00
ip_reassembly remove extra parentheses in return statement 2016-02-10 15:47:50 +01:00
ipv4_multicast remove extra parentheses in return statement 2016-02-10 15:47:50 +01:00
kni examples/kni: fix crash on exit 2015-08-10 16:25:30 +02:00
l2fwd examples/l2fwd: handle SIGINT and SIGTERM 2016-01-27 17:32:37 +01:00
l2fwd-crypto aesni_mb: fix wrong return value 2016-02-24 15:02:52 +01:00
l2fwd-ivshmem config: remove useless explicit includes of generated header 2016-02-10 22:43:38 +01:00
l2fwd-jobstats jobstats: add abort function 2016-02-29 11:22:53 +01:00
l2fwd-keepalive examples/l2fwd-keepalive: fix integer overflow 2015-12-10 22:27:20 +01:00
l3fwd examples/l3fwd: modularize 2016-02-28 21:56:19 +01:00
l3fwd-acl acl: remove old API 2015-09-03 19:22:48 +02:00
l3fwd-power eal: remove zombie symbols 2015-12-15 13:50:42 +01:00
l3fwd-vf hash: rename unused field 2015-07-13 19:27:31 +02:00
link_status_interrupt apps: fix default mbuf size 2015-05-11 15:51:14 +02:00
load_balancer mbuf: use offset macro 2015-06-24 12:01:14 +02:00
multi_process remove extra parentheses in return statement 2016-02-10 15:47:50 +01:00
netmap_compat remove extra parentheses in return statement 2016-02-10 15:47:50 +01:00
packet_ordering apps: fix default mbuf size 2015-05-11 15:51:14 +02:00
performance-thread config: remove useless explicit includes of generated header 2016-02-10 22:43:38 +01:00
ptpclient examples/ptpclient: add minimal PTP client 2015-11-13 17:44:49 +01:00
qos_meter apps: fix default mbuf size 2015-05-11 15:51:14 +02:00
qos_sched doc: drop old naming of the project 2016-02-10 15:47:51 +01:00
quota_watermark remove extra parentheses in return statement 2016-02-10 15:47:50 +01:00
rxtx_callbacks apps: fix default mbuf size 2015-05-11 15:51:14 +02:00
skeleton apps: fix default mbuf size 2015-05-11 15:51:14 +02:00
tep_termination eal/linux: fix build with glibc < 2.12 2015-11-25 14:41:37 +01:00
timer tailq: remove unneeded inclusions 2015-03-10 11:47:46 +01:00
vhost examples/vhost: fix out of sequence packets 2016-02-28 22:35:59 +01:00
vhost_xen vhost: remove device operations pointers 2016-02-19 19:33:31 +01:00
vm_power_manager config: remove useless explicit includes of generated header 2016-02-10 22:43:38 +01:00
vmdq examples/vmdq: fix crash when using too many pools 2015-12-07 03:21:13 +01:00
vmdq_dcb ethdev: rename DCB field in config structs 2015-11-01 14:44:31 +01:00
Makefile examples: fix build dependencies 2016-02-16 07:33:44 +01:00