numam-dpdk/examples
Feifei Wang 198b544843 examples/eventdev: add info output for main core
When the main core is set as tx/rx/sched/worker core, it also needs to
print some information to show this. Thus, add info output for the main
core, and add a "dump" function to print core information for the sake
of code simplicity and easy maintenance.

In the meanwhile, fix the count error. For the variable "worker_idx", it
should be incremented when the core is set as worker core. However, when
the main core is set as rx/tx/sched core, the worker_idx is also
incremented. Though this error may not have a substantial impact due to
that the main core is the last launched core, but it should be corrected
from the perspective of code correctness.

Fixes: 1094ca9668 ("doc: add SW eventdev pipeline to sample app guide")
Cc: stable@dpdk.org

Signed-off-by: Feifei Wang <feifei.wang2@arm.com>
Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>
2021-01-26 13:44:06 +01:00
..
bbdev_app examples/bbdev: switch to dynamic mbuf field 2020-10-31 16:13:11 +01:00
bond examples: enclose DPDK includes with angle brackets 2020-10-31 16:13:10 +01:00
bpf examples: remove old build system references 2020-09-07 23:51:57 +02:00
cmdline examples: restore trace point 2020-11-15 15:35:11 +01:00
distributor examples: restore trace point 2020-11-15 15:35:11 +01:00
ethtool examples: restore trace point 2020-11-15 15:35:11 +01:00
eventdev_pipeline examples/eventdev: add info output for main core 2021-01-26 13:44:06 +01:00
fips_validation examples/fips_validation: fix build with pkg-config 2020-11-15 15:29:19 +01:00
flow_classify eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
flow_filtering examples: restore trace point 2020-11-15 15:35:11 +01:00
helloworld examples: restore trace point 2020-11-15 15:35:11 +01:00
ioat examples: restore trace point 2020-11-15 15:35:11 +01:00
ip_fragmentation eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
ip_pipeline examples: stop processing meson file if build impossible 2020-11-12 19:33:36 +01:00
ip_reassembly examples: restore trace point 2020-11-15 15:35:11 +01:00
ipsec-secgw eal: replace blacklist/whitelist options 2020-11-16 00:11:22 +01:00
ipv4_multicast examples: restore trace point 2020-11-15 15:35:11 +01:00
kni examples/kni: fix build with pkg-config 2020-11-15 15:29:23 +01:00
l2fwd eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
l2fwd-cat examples: restore trace point 2020-11-15 15:35:11 +01:00
l2fwd-crypto examples/l2fwd-crypto: fix build with pkg-config 2020-11-15 15:29:24 +01:00
l2fwd-event examples: restore trace point 2020-11-15 15:35:11 +01:00
l2fwd-jobstats examples: restore trace point 2020-11-15 15:35:11 +01:00
l2fwd-keepalive examples: restore trace point 2020-11-15 15:35:11 +01:00
l3fwd examples/l3fwd: remove limitation on Tx queue count 2021-01-19 13:12:59 +01:00
l3fwd-acl examples: restore trace point 2020-11-15 15:35:11 +01:00
l3fwd-graph examples/l3fwd-graph: fix pkg-config usage 2020-11-15 15:29:34 +01:00
l3fwd-power examples/l3fwd-power: add ethdev power management 2021-01-29 15:29:48 +01:00
link_status_interrupt examples: restore trace point 2020-11-15 15:35:11 +01:00
multi_process examples/multi_process: add SPDX license tag to makefiles 2020-11-20 17:32:23 +01:00
ntb examples/ntb: fix clean target 2020-11-15 15:30:21 +01:00
packet_ordering examples: restore trace point 2020-11-15 15:35:11 +01:00
performance-thread examples/performance-thread: fix build with pkg-config 2020-11-15 15:31:15 +01:00
pipeline examples/pipeline: fix CLI parsing crash 2021-01-29 16:20:58 +01:00
ptpclient examples: restore trace point 2020-11-15 15:35:11 +01:00
qos_meter eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
qos_sched examples/qos_sched: fix subport configuration 2020-11-20 12:50:41 +01:00
rxtx_callbacks examples/rxtx_callbacks: fix build with pkg-config 2020-11-15 15:34:50 +01:00
server_node_efd examples: restore trace point 2020-11-15 15:35:11 +01:00
service_cores examples: restore trace point 2020-11-15 15:35:11 +01:00
skeleton examples: restore trace point 2020-11-15 15:35:11 +01:00
timer examples: restore trace point 2020-11-15 15:35:11 +01:00
vdpa examples: stop processing meson file if build impossible 2020-11-12 19:33:36 +01:00
vhost vhost: enhance async enqueue for small packets 2021-01-13 18:51:58 +01:00
vhost_blk examples/vhost_blk: replace SMP barrier with thread fence 2021-01-08 18:07:55 +01:00
vhost_crypto examples/vhost_crypto: add new line character in usage 2020-11-13 19:43:25 +01:00
vm_power_manager power: clean up includes 2021-01-29 11:25:40 +01:00
vmdq examples: restore trace point 2020-11-15 15:35:11 +01:00
vmdq_dcb examples: restore trace point 2020-11-15 15:35:11 +01:00
meson.build build: fix linker flags on Windows 2021-01-13 22:13:37 +01:00