numam-dpdk/drivers/net/enic
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 enic: fix link state change 2016-03-30 19:39:07 +02:00
enic_clsf.c remove extra parentheses in return statement 2016-02-10 15:47:50 +01:00
enic_compat.h enic: remove #ident lines 2015-09-30 01:19:19 +02:00
enic_ethdev.c enic: fix Tx hang when number of packets > queue size 2016-03-30 19:39:07 +02:00
enic_main.c ethdev: remove deprecated statistics 2016-04-20 13:49:31 +02:00
enic_res.c enic: remove #ident lines 2015-09-30 01:19:19 +02:00
enic_res.h enic: fix Tx hang when number of packets > queue size 2016-03-30 19:39:07 +02:00
enic_rx.c eal: add assert macro for debug 2016-05-02 15:31:17 +02:00
enic.h eal: add assert macro for debug 2016-05-02 15:31:17 +02:00
LICENSE enic: move to drivers/net/ 2015-05-22 16:05:52 +02:00
Makefile enic: improve Rx performance 2016-03-16 16:57:12 +01:00
rte_pmd_enic_version.map enic: move to drivers/net/ 2015-05-22 16:05:52 +02:00