numam-dpdk/examples
Anatoly Burakov f4d1e19c29 examples/l3fwd-power: add Rx interrupt timeout
Currently, thread waiting on an interrupt does not have a timeout, so
it will not ever wake up until traffic arrives. This means that, when
time comes to exit the application, it will not quit unless there
happens to be traffic coming in and waking up the thread from sleep.

Fix it so that the interrupt thread sleeps for 10ms before waking up
and attempting to poll again. Additionally, remove the log message
to avoid spamming about entering interrupt mode.

Fixes: 613ce6691c ("examples/l3fwd-power: implement proper shutdown")
Cc: stable@dpdk.org

Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
Acked-by: David Hunt <david.hunt@intel.com>
Tested-by: Lihong Ma <lihongx.ma@intel.com>
2020-05-11 21:33:42 +02:00
..
bbdev_app examples: hide error for missing pkg-config path flag 2019-11-20 22:48:32 +01:00
bond replace unused attributes 2020-04-16 18:30:58 +02:00
bpf examples/bpf: remove from list of examples to build 2019-10-27 17:23:05 +01:00
cmdline ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
distributor ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
ethtool ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
eventdev_pipeline examples/eventdev: fix crash on exit 2020-05-11 19:20:54 +02:00
fips_validation replace unused attributes 2020-04-16 18:30:58 +02:00
flow_classify replace no-return attributes 2020-04-16 18:30:58 +02:00
flow_filtering ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
helloworld ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
ioat ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
ip_fragmentation ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
ip_pipeline replace packed attributes 2020-04-16 18:16:46 +02:00
ip_reassembly ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
ipsec-secgw examples/ipsec-gw: fix gcc 10 maybe-uninitialized warning 2020-05-06 11:18:36 +02:00
ipv4_multicast ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
kni examples/kni: add SIGTERM signal handling 2020-02-13 18:27:44 +01:00
l2fwd replace unused attributes 2020-04-16 18:30:58 +02:00
l2fwd-cat ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
l2fwd-crypto examples: hide error for missing pkg-config path flag 2019-11-20 22:48:32 +01:00
l2fwd-event ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
l2fwd-jobstats ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
l2fwd-keepalive examples/l2fwd-keepalive: fix mbuf pool size 2020-05-11 17:18:58 +02:00
l3fwd examples/l3fwd: fix error checking 2020-05-01 19:37:17 +02:00
l3fwd-acl ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
l3fwd-graph examples/l3fwd-graph: add graph config and main loop 2020-05-05 23:46:11 +02:00
l3fwd-power examples/l3fwd-power: add Rx interrupt timeout 2020-05-11 21:33:42 +02:00
link_status_interrupt ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
multi_process ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
ntb mempool: return 0 if area is too small on populate 2020-05-05 00:27:05 +02:00
packet_ordering ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
performance-thread ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
ptpclient ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
qos_meter ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
qos_sched ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
rxtx_callbacks replace no-return attributes 2020-04-16 18:30:58 +02:00
server_node_efd ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
service_cores ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
skeleton ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
tep_termination examples/tep_term: remove redundant info get 2020-02-21 11:14:35 +01:00
timer ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
vdpa vhost: prefix vDPA enum value for PCI address type 2020-04-21 13:57:07 +02:00
vhost examples: hide error for missing pkg-config path flag 2019-11-20 22:48:32 +01:00
vhost_blk examples/vhost_blk: refactor to increase readability 2020-05-05 15:54:26 +02:00
vhost_crypto examples: hide error for missing pkg-config path flag 2019-11-20 22:48:32 +01:00
vm_power_manager ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
vmdq examples/vmdq: fix RSS configuration 2020-04-21 13:57:06 +02:00
vmdq_dcb ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
Makefile examples/l3fwd-graph: add graph-based l3fwd skeleton 2020-05-05 23:42:26 +02:00
meson.build examples/l3fwd-graph: add graph-based l3fwd skeleton 2020-05-05 23:42:26 +02:00