numam-dpdk/examples
Thomas Monjalon 50705e8e3c eal: add assert macro for debug
The macro RTE_VERIFY always checks a condition.
It is optimized with "unlikely" hint.
While this macro is well suited for test applications, it is preferred
in libraries and examples to enable such check in debug mode.
That's why the macro RTE_ASSERT is introduced to call RTE_VERIFY only
if built with debug logs enabled.

A lot of assert macros were duplicated and enabled with a specific flag.
Removing these #ifdef allows to test these code branches more easily
and avoid dead code pitfalls.

The ENA_ASSERT is kept (in debug mode only) because it has more
parameters to log.

Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
2016-05-02 15:31:17 +02:00
..
bond
cmdline
distributor examples: remove useless debug flags 2016-05-02 15:31:17 +02:00
dpdk_qat
ethtool ethdev: remove deprecated statistics 2016-04-20 13:49:31 +02:00
exception_path examples/exception_path: fix shift operation in lcore setup 2016-04-27 17:41:46 +02:00
helloworld
ip_fragmentation ethdev: use constants for link state 2016-04-01 21:38:34 +02:00
ip_pipeline port: bump ABI for pcap file support 2016-04-20 11:53:32 +02:00
ip_reassembly ethdev: use constants for link state 2016-04-01 21:38:34 +02:00
ipsec-secgw eal: add assert macro for debug 2016-05-02 15:31:17 +02:00
ipv4_multicast eal: add assert macro for debug 2016-05-02 15:31:17 +02:00
kni ethdev: use constants for link state 2016-04-01 21:38:34 +02:00
l2fwd ethdev: use constants for link state 2016-04-01 21:38:34 +02:00
l2fwd-cat
l2fwd-crypto examples/l2fwd-crypto: fix string overflow 2016-04-07 19:52:07 +02:00
l2fwd-ivshmem ethdev: use constants for link state 2016-04-01 21:38:34 +02:00
l2fwd-jobstats ethdev: use constants for link state 2016-04-01 21:38:34 +02:00
l2fwd-keepalive ethdev: use constants for link state 2016-04-01 21:38:34 +02:00
l3fwd hash: remove aliases for bulk lookup 2016-04-20 13:49:36 +02:00
l3fwd-acl examples: remove useless debug flags 2016-05-02 15:31:17 +02:00
l3fwd-power examples: fix draining all queues in l3fwd derivatives 2016-04-07 23:05:47 +02:00
l3fwd-vf
link_status_interrupt ethdev: use constants for link state 2016-04-01 21:38:34 +02:00
load_balancer ethdev: use constants for link state 2016-04-01 21:38:34 +02:00
multi_process ethdev: use constants for link state 2016-04-01 21:38:34 +02:00
netmap_compat
packet_ordering examples: remove useless debug flags 2016-05-02 15:31:17 +02:00
performance-thread eal: add assert macro for debug 2016-05-02 15:31:17 +02:00
ptpclient
qos_meter
qos_sched
quota_watermark
rxtx_callbacks
skeleton
tep_termination examples: remove useless debug flags 2016-05-02 15:31:17 +02:00
timer
vhost examples: remove useless debug flags 2016-05-02 15:31:17 +02:00
vhost_xen examples: remove useless debug flags 2016-05-02 15:31:17 +02:00
vm_power_manager examples/vm_power_manager: fix libvirt dependency check 2016-04-11 14:29:19 +02:00
vmdq
vmdq_dcb examples: fix build with icc 15.0.1 2016-04-04 15:05:40 +02:00
Makefile examples/vm_power_manager: fix libvirt dependency check 2016-04-11 14:29:19 +02:00