numam-dpdk/drivers/net/xenvirt
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
..
Makefile mk: fix shared library dependencies of drivers 2015-12-06 22:15:14 +01:00
rte_eth_xenvirt_version.map xenvirt: move drivers/net/ 2015-05-22 16:06:23 +02:00
rte_eth_xenvirt.c ethdev: redesign link speed config 2016-04-01 21:38:34 +02:00
rte_eth_xenvirt.h xenvirt: move drivers/net/ 2015-05-22 16:06:23 +02:00
rte_mempool_gntalloc.c eal: add assert macro for debug 2016-05-02 15:31:17 +02:00
rte_xen_lib.c xenvirt: fix build for 32-bit platform 2015-12-12 22:34:43 +01:00
rte_xen_lib.h xenvirt: support port hotplug 2015-10-30 17:52:50 +01:00
virtio_logs.h xenvirt: move drivers/net/ 2015-05-22 16:06:23 +02:00
virtqueue.h xenvirt: fix 32-bit build 2016-04-10 21:36:54 +02:00