numam-dpdk/drivers/net/vmxnet3
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
..
base vmxnet3: clean up typos and unused code 2016-03-16 19:05:46 +01:00
Makefile mem: move librte_malloc to eal/common 2015-07-16 13:44:48 +02:00
rte_pmd_vmxnet3_version.map vmxnet3: move to drivers/net/ 2015-05-22 16:06:23 +02:00
vmxnet3_ethdev.c ethdev: remove deprecated statistics 2016-04-20 13:49:31 +02:00
vmxnet3_ethdev.h eal: add assert macro for debug 2016-05-02 15:31:17 +02:00
vmxnet3_logs.h vmxnet3: move to drivers/net/ 2015-05-22 16:06:23 +02:00
vmxnet3_ring.h vmxnet3: support jumbo frames 2016-03-16 19:05:47 +01:00
vmxnet3_rxtx.c eal: add assert macro for debug 2016-05-02 15:31:17 +02:00